[vala] gtk+-3.0: Fix gtk_css_provider_get_named binding



commit af36b6da6d9f2894a4dc9c1cf425a06a2b452f15
Author: JÃrg Billeter <j bitron ch>
Date:   Wed Nov 14 17:37:05 2012 +0100

    gtk+-3.0: Fix gtk_css_provider_get_named binding
    
    Fixes bug 688292.
    
    Reported-by: Pascal Garber <jumplink gmail com>

 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 1746a44..4ebda9c 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -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;
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index cc7fc3b..cf74072 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]