]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Mark StyleProperties.register_property parse_func as nullable
authorLuca Bruno <lucabru@src.gnome.org>
Wed, 29 Jun 2011 21:28:37 +0000 (23:28 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Wed, 29 Jun 2011 21:29:21 +0000 (23:29 +0200)
Fixes bug 653671.

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

index 22795ac240ffbd79706c4e985774298becc03375..ecd3a42553982a84351b34bdd8e33f00b3436f92 100644 (file)
@@ -3995,7 +3995,7 @@ namespace Gtk {
                public static bool lookup_property (string property_name, Gtk.StylePropertyParser parse_func, out unowned GLib.ParamSpec pspec);
                public void map_color (string name, Gtk.SymbolicColor color);
                public void merge (Gtk.StyleProperties props_to_merge, bool replace);
-               public static void register_property (Gtk.StylePropertyParser parse_func, GLib.ParamSpec pspec);
+               public static void register_property (Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
                public void @set (Gtk.StateFlags state);
                public void set_property (string property, Gtk.StateFlags state, GLib.Value value);
                public void set_valist (Gtk.StateFlags state, void* args);
index 2ff6eb16ee180a3a7b094152da3820c05c1a0265..493fa02f61e6ed42f531c9787a60cc655af42965 100644 (file)
@@ -624,6 +624,7 @@ gtk_style_context_get_padding.padding hidden="1"
 gtk_style_context_get_style ellipsis="1"
 gtk_style_lookup_color.color is_out="1"
 gtk_style_get_style_property.value is_out="1"
+gtk_style_properties_register_property.parse_func nullable="1"
 GtkTable:row-spacing accessor_method="0"
 GtkTargetEntry is_value_type="1"
 GtkTargetList.list type_arguments="TargetPair"