From 53f0eedae3bccb9715dcdae70712ee2c7e8f83da Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Wed, 1 Oct 2025 21:39:13 +0900 Subject: [PATCH] Remove no longer used libcanberra-gtk3.vapi --- meson.build | 1 - vapi/libcanberra-gtk3.vapi | 37 ------------------------------------- 2 files changed, 38 deletions(-) delete mode 100644 vapi/libcanberra-gtk3.vapi diff --git a/meson.build b/meson.build index 3eb3a2f6..c7426d99 100644 --- a/meson.build +++ b/meson.build @@ -8,7 +8,6 @@ gnome = import('gnome') i18n = import('i18n') add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c') -add_project_arguments(['--vapidir', join_paths(meson.current_source_dir(), 'vapi')], language: 'vala') css_gresource = gnome.compile_resources( 'css-resource', diff --git a/vapi/libcanberra-gtk3.vapi b/vapi/libcanberra-gtk3.vapi deleted file mode 100644 index f788f8e0..00000000 --- a/vapi/libcanberra-gtk3.vapi +++ /dev/null @@ -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 - . -***/ - -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); -}