[vala] gtk+-3.0: Mark Gtk.Application.remove_accelerator() parameter as nullable



commit 4d3b69672786ad9d44fde9092b27a6e346c208cf
Author: Philip Withnall <philip tecnocode co uk>
Date:   Mon Sep 30 12:34:50 2013 +0100

    gtk+-3.0: Mark Gtk.Application.remove_accelerator() parameter as nullable
    
    Closes: https://bugzilla.gnome.org/show_bug.cgi?id=709084

 vapi/gtk+-3.0.vapi                       |    4 ++--
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index c347412..b49257c 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1,4 +1,4 @@
-/* gtk+-3.0.vapi generated by vapigen, do not modify. */
+/* gtk+-3.0.vapi generated by lt-vapigen, do not modify. */
 
 [CCode (gir_namespace = "Gtk", gir_version = "3.0")]
 namespace Gtk {
@@ -586,7 +586,7 @@ namespace Gtk {
                public unowned GLib.List<weak Gtk.Window> get_windows ();
                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_accelerator (string action_name, GLib.Variant? parameter);
                public void remove_window (Gtk.Window window);
                public void set_app_menu (GLib.MenuModel app_menu);
                public void set_menubar (GLib.MenuModel menubar);
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 900b539..2ff0299 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -1312,5 +1312,6 @@ gtk_render_layout deprecated_since="vala-0.16" replacement="StyleContext.render_
 gtk_render_line deprecated_since="vala-0.16" replacement="StyleContext.render_line"
 gtk_render_option deprecated_since="vala-0.16" replacement="StyleContext.render_option"
 gtk_render_slider deprecated_since="vala-0.16" replacement="StyleContext.render_slider"
+gtk_application_remove_accelerator.parameter nullable="1"
 
 *._g_sealed__* hidden="1"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]