]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix GtkWidget::style_set and gtk_rc_get_style_by_paths bindings
authorJürg Billeter <j@bitron.ch>
Mon, 5 Jan 2009 10:58:58 +0000 (10:58 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Mon, 5 Jan 2009 10:58:58 +0000 (10:58 +0000)
2009-01-05  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/:

Fix GtkWidget::style_set and gtk_rc_get_style_by_paths bindings

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=2276

ChangeLog
vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index ba547a90460f1fc98789b5d3708c4b469d9eb8df..36939f1eb584917743147d2309b4838d248947ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-01-05  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/packages/gtk+-2.0/:
+
+       Fix GtkWidget::style_set and gtk_rc_get_style_by_paths bindings
+
+       * vapi/gtk+-2.0.vapi: regenerated
+
 2009-01-04  Jürg Billeter  <j@bitron.ch>
 
        * vala/valathrowstatement.vala:
index 0712db723957a3a70bef309b6ee3d4300b37571f..6a545f270573335d1ddb3adf905b0558bf0af2e9 100644 (file)
@@ -5055,7 +5055,7 @@ namespace Gtk {
                [HasEmitter]
                public virtual signal void size_request (out Gtk.Requisition requisition);
                public virtual signal void state_changed (Gtk.StateType previous_state);
-               public virtual signal void style_set (Gtk.Style previous_style);
+               public virtual signal void style_set (Gtk.Style? previous_style);
                [HasEmitter]
                public virtual signal void unmap ();
                public virtual signal bool unmap_event (Gdk.Event event);
@@ -7284,7 +7284,7 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static unowned Gtk.Style rc_get_style (Gtk.Widget widget);
        [CCode (cheader_filename = "gtk/gtk.h")]
-       public static unowned Gtk.Style rc_get_style_by_paths (Gtk.Settings settings, string widget_path, string class_path, GLib.Type type);
+       public static unowned Gtk.Style? rc_get_style_by_paths (Gtk.Settings settings, string? widget_path, string? class_path, GLib.Type type);
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static unowned string rc_get_theme_dir ();
        [CCode (cheader_filename = "gtk/gtk.h")]
index d39422d34b8a68b2791853a222e3429b33878a22..cc8492daeff66a96a68e1c669561fcbef5f3564e 100644 (file)
@@ -289,6 +289,9 @@ GtkRecentData.app_name weak="0"
 GtkRecentData.app_exec weak="0"
 GtkRecentData.groups is_array="1" weak="0"
 GtkRequisition is_value_type="1"
+gtk_rc_get_style_by_paths nullable="1"
+gtk_rc_get_style_by_paths.widget_path nullable="1"
+gtk_rc_get_style_by_paths.class_path nullable="1"
 gtk_scale_button_new.icons is_array="1" no_array_length="1"
 gtk_scale_button_set_icons.icons is_array="1" no_array_length="1"
 gtk_scale_draw_value hidden="1"
@@ -549,6 +552,7 @@ GtkWidget::size_allocate has_emitter="1"
 GtkWidget::size_request has_emitter="1"
 GtkWidget::size_request.requisition is_out="1"
 GtkWidget::show has_emitter="1"
+GtkWidget::style_set.previous_style nullable="1"
 GtkWidget::unmap has_emitter="1"
 GtkWidget::unrealize has_emitter="1"
 GtkWidgetClass name="pointer"