From: Evan Nemerson Date: Sun, 22 Jan 2012 08:04:02 +0000 (-0800) Subject: gtk+-3.0: make ThemingEngine.register_property.parse_func nullable X-Git-Tag: 0.14.2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaf49c180f904446bfb9509c89fc36ae5314fca6;p=thirdparty%2Fvala.git gtk+-3.0: make ThemingEngine.register_property.parse_func nullable Fixes bug 666906. --- diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index 01c5d2ad4..2e595587d 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -4689,7 +4689,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] diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata index 49b753b99..b56f56cfb 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata @@ -746,6 +746,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"