]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Fix gtk_application_inhibit binding
authorJürg Billeter <j@bitron.ch>
Wed, 3 Oct 2012 18:31:48 +0000 (20:31 +0200)
committerJürg Billeter <j@bitron.ch>
Wed, 3 Oct 2012 18:31:48 +0000 (20:31 +0200)
Fixes bug 685425.

vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index aba5a11b249a0a911d4882de6c351a1faec31d18..ba596bd94b98aaf910f1acb8b65796fe876122ed 100644 (file)
@@ -576,7 +576,7 @@ namespace Gtk {
                public unowned GLib.MenuModel get_menubar ();
                public unowned Gtk.Window get_window_by_id (uint id);
                public unowned GLib.List<weak Gtk.Window> get_windows ();
-               public uint inhibit (Gtk.Window window, Gtk.ApplicationInhibitFlags flags, string reason);
+               public uint inhibit (Gtk.Window? window, Gtk.ApplicationInhibitFlags flags, string? reason);
                public bool is_inhibited (Gtk.ApplicationInhibitFlags flags);
                public void remove_accelerator (string action_name, GLib.Variant parameter);
                public void remove_window (Gtk.Window window);
index 9bde999d2d473967ebb79727c57bc8f39fec209d..de342b5bd5807d4d738d8ce75fb6d90d8acb1a4d 100644 (file)
@@ -51,6 +51,8 @@ gtk_alignment_get_padding.padding_right is_out="1"
 GtkAllocation is_value_type="1"
 gtk_application_add_accelerator.parameter nullable="1"
 gtk_application_get_windows type_arguments="unowned Window"
+gtk_application_inhibit.window nullable="1"
+gtk_application_inhibit.reason nullable="1"
 GtkArg.d hidden="1"
 GtkAssistant.apply hidden="1"
 GtkAssistant.cancel hidden="1"