summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2014-03-06 21:28:57 +0100
committerLuca Bruno <lucabru@src.gnome.org>2014-03-06 21:28:57 +0100
commit54b3c980562ef2bc1f1ade9876f9973a820d62e4 (patch)
tree9b7aabedbbcadc11807255b980e3a0067cead3c2
parent874b48c4fcc1ed9063bddc53b7757c17b97e858e (diff)
downloadvala-54b3c980562ef2bc1f1ade9876f9973a820d62e4.tar.gz
gio-2.0: Also make Action.get_state_hint nullable
-rw-r--r--vapi/gio-2.0.vapi2
-rw-r--r--vapi/metadata/Gio-2.0.metadata1
2 files changed, 2 insertions, 1 deletions
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index ea96a3b48..68dab0fe0 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 be625ec1f..4ef58016b 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