[vala] gio-2.0: Also make Action.get_state_hint nullable



commit 54b3c980562ef2bc1f1ade9876f9973a820d62e4
Author: Luca Bruno <lucabru src gnome org>
Date:   Thu Mar 6 21:28:57 2014 +0100

    gio-2.0: Also make Action.get_state_hint nullable

 vapi/gio-2.0.vapi              |    2 +-
 vapi/metadata/Gio-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index ea96a3b..68dab0f 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -2445,7 +2445,7 @@ namespace GLib {
                public abstract unowned string get_name ();
                public abstract unowned GLib.VariantType get_parameter_type ();
                public abstract GLib.Variant get_state ();
-               public abstract GLib.Variant get_state_hint ();
+               public abstract GLib.Variant? get_state_hint ();
                public abstract unowned GLib.VariantType get_state_type ();
                public static bool name_is_valid (string action_name);
                public static bool parse_detailed_name (string detailed_name, out string action_name, out 
GLib.Variant target_value) throws GLib.Error;
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index be625ec..4ef5801 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -54,6 +54,7 @@ Action
   .parameter_type nullable
   .state nullable
   .state_type nullable
+  .get_state_hint nullable
 PropertyAction
   .state nullable
 ActionEntry


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