Remove libcanberra-gtk remnants (#1886)

Co-authored-by: Leo <lenemter@gmail.com>
This commit is contained in:
Leonhard 2024-04-02 15:12:28 +02:00 committed by GitHub
parent 2fc2ecd1af
commit 87c6a2f873
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 39 deletions

View File

@ -31,7 +31,7 @@ jobs:
- name: Install Dependencies
run: |
apt update
apt install -y gettext gnome-settings-daemon-dev gsettings-desktop-schemas-dev libcanberra-dev libcanberra-gtk3-dev libclutter-1.0-dev libgee-0.8-dev libglib2.0-dev libgnome-desktop-3-dev libgranite-dev libgtk-3-dev ${{ matrix.mutter_pkg }} libxml2-utils libsqlite3-dev meson valac valadoc
apt install -y gettext gnome-settings-daemon-dev gsettings-desktop-schemas-dev libcanberra-dev libclutter-1.0-dev libgee-0.8-dev libglib2.0-dev libgnome-desktop-3-dev libgranite-dev libgtk-3-dev ${{ matrix.mutter_pkg }} libxml2-utils libsqlite3-dev meson valac valadoc
- name: Build
env:
DESTDIR: out

View File

@ -11,7 +11,6 @@ You'll need the following dependencies:
* gnome-settings-daemon-dev (>= 3.15.2),
* gsettings-desktop-schemas-dev
* libcanberra-dev
* libcanberra-gtk3-dev
* libclutter-1.0-dev (>= 1.12.0)
* libgee-0.8-dev
* libglib2.0-dev (>= 2.44)

View File

@ -1,37 +0,0 @@
/***
This file is part of libcanberra.
Copyright 2009 Lennart Poettering
libcanberra is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 2.1 of the
License, or (at your option) any later version.
libcanberra is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with libcanberra. If not, see
<http://www.gnu.org/licenses/>.
***/
using Canberra;
using Gdk;
using Gtk;
[CCode (cprefix = "CA_GTK_", lower_case_cprefix = "ca_gtk_", cheader_filename = "canberra-gtk.h")]
namespace CanberraGtk {
public unowned Context? context_get();
public unowned Context? context_get_for_screen(Gdk.Screen? screen);
public int proplist_set_for_widget(Proplist p, Gtk.Widget w);
public int play_for_widget(Gtk.Widget w, uint32 id, ...);
public int proplist_set_for_event(Proplist p, Gdk.Event e);
public int play_for_event(Gdk.Event e, uint32 id, ...);
public void widget_disable_sounds(Gtk.Widget w, bool enable = false);
}