[vala] gtk+-3.0: Fix gtk_application_add_accelerator nullable parameter
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: Fix gtk_application_add_accelerator nullable parameter
- Date: Tue, 3 Jul 2012 10:34:43 +0000 (UTC)
commit 113dbff2f401bdf41b0bf9f5501c8f8583720aaf
Author: Robert Ancell <robert ancell canonical com>
Date: Tue Jul 3 22:17:19 2012 +1200
gtk+-3.0: Fix gtk_application_add_accelerator nullable parameter
vapi/gtk+-3.0.vapi | 2 +-
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 03e8483..eeb0db4 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -569,7 +569,7 @@ namespace Gtk {
public class Application : GLib.Application, GLib.ActionGroup, GLib.ActionMap {
[CCode (has_construct_function = false)]
public Application (string application_id, GLib.ApplicationFlags flags);
- public void add_accelerator (string accelerator, string action_name, GLib.Variant parameter);
+ public void add_accelerator (string accelerator, string action_name, GLib.Variant? parameter);
public void add_window (Gtk.Window window);
public unowned GLib.MenuModel get_app_menu ();
public unowned GLib.MenuModel get_menubar ();
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 67cdab7..6c3448b 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -48,6 +48,7 @@ gtk_alignment_get_padding.padding_bottom is_out="1"
gtk_alignment_get_padding.padding_left is_out="1"
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"
GtkArg.d hidden="1"
GtkAssistant.apply hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]