]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: make ThemingEngine.register_property.parse_func nullable
authorEvan Nemerson <evan@coeus-group.com>
Sun, 22 Jan 2012 08:04:02 +0000 (00:04 -0800)
committerEvan Nemerson <evan@coeus-group.com>
Sun, 22 Jan 2012 08:04:02 +0000 (00:04 -0800)
Fixes bug 666906.

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

index 4addda8bb44db7a87cfe8ae0ff6c081092954471..7edadb3bb12f7e6f39753faa74fd8712174e4021 100644 (file)
@@ -4703,7 +4703,7 @@ namespace Gtk {
                public bool has_region (string style_region, out Gtk.RegionFlags flags);
                public static unowned Gtk.ThemingEngine load (string name);
                public bool lookup_color (string color_name, out Gdk.RGBA color);
-               public static void register_property (string name_space, Gtk.StylePropertyParser parse_func, GLib.ParamSpec pspec);
+               public static void register_property (string name_space, Gtk.StylePropertyParser? parse_func, GLib.ParamSpec pspec);
                [NoWrapper]
                public virtual void render_activity (Cairo.Context cr, double x, double y, double width, double height);
                [NoWrapper]
index a49d63fb444cbd8014cb85f144b80a9cb5e5e6c8..5f82e8efb4a072881209086980c47379f08aa742 100644 (file)
@@ -754,6 +754,7 @@ gtk_theming_engine_get_padding type_name="Gtk.Border"
 gtk_theming_engine_get_padding.padding hidden="1"
 gtk_theming_engine_get_property type_name="GLib.Value"
 gtk_theming_engine_get_property.value hidden="1"
+gtk_theming_engine_register_property.parse_func nullable="1"
 gtk_theming_engine_get_style_property type_name="GLib.Value"
 gtk_theming_engine_get_style_property.value hidden="1"
 gtk_theming_engine_lookup_color.color is_out="1"