]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Fix gtk_css_provider_get_named binding
authorJürg Billeter <j@bitron.ch>
Wed, 14 Nov 2012 16:37:05 +0000 (17:37 +0100)
committerJürg Billeter <j@bitron.ch>
Wed, 14 Nov 2012 16:37:05 +0000 (17:37 +0100)
Fixes bug 688292.

Reported-by: Pascal Garber <jumplink@gmail.com>
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index 1746a44aae6b42aaeaea258cecf1bad9d301929c..4ebda9ca33ecf031dd099ac111964c4c61d16c5c 100644 (file)
@@ -1588,7 +1588,7 @@ namespace Gtk {
                public CssProvider ();
                public static GLib.Quark error_quark ();
                public static unowned Gtk.CssProvider get_default ();
-               public static unowned Gtk.CssProvider get_named (string name, string variant);
+               public static unowned Gtk.CssProvider get_named (string name, string? variant);
                public bool load_from_data (string data, ssize_t length) throws GLib.Error;
                public bool load_from_file (GLib.File file) throws GLib.Error;
                public bool load_from_path (string path) throws GLib.Error;
index cc7fc3b6db95e8f5abb0fb00864392c964f3fd3c..cf74072f3d585583f21610414dafc0d3d1acba50 100644 (file)
@@ -229,6 +229,7 @@ gtk_container_get_children transfer_ownership="1" type_arguments="unowned Widget
 gtk_container_get_focus_chain.focusable_widgets is_out="1" takes_ownership="1" type_arguments="Widget"
 gtk_container_set_focus_chain.focusable_widgets type_arguments="Widget"
 GtkContainerClass name="pointer"
+gtk_css_provider_get_named.variant nullable="1"
 GtkDestroyNotify has_target="0"
 gtk_dialog_get_content_area type_name="Box" ctype="GtkWidget*"
 gtk_dialog_new_with_buttons.title nullable="1"