]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Fix ThemingEngine.get_* and lookup_color return values
authorLuca Bruno <lucabru@src.gnome.org>
Wed, 22 Jun 2011 20:08:37 +0000 (22:08 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Wed, 22 Jun 2011 20:08:37 +0000 (22:08 +0200)
Fixes bug 653188.

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

index 0f26251228eb8d9da5afb52f3c47d3554d1e1597..87edc2d7d621d5969efad6d5e3124d499ab5657a 100644 (file)
@@ -4518,26 +4518,26 @@ namespace Gtk {
                protected ThemingEngine ();
                public void @get (Gtk.StateFlags state, ...);
                public void get_background_color (Gtk.StateFlags state, Gdk.RGBA color);
-               public void get_border (Gtk.StateFlags state, Gtk.Border border);
-               public void get_border_color (Gtk.StateFlags state, Gdk.RGBA color);
-               public void get_color (Gtk.StateFlags state, Gdk.RGBA color);
+               public Gtk.Border get_border (Gtk.StateFlags state);
+               public Gdk.RGBA get_border_color (Gtk.StateFlags state);
+               public Gdk.RGBA get_color (Gtk.StateFlags state);
                public Gtk.TextDirection get_direction ();
                public unowned Pango.FontDescription get_font (Gtk.StateFlags state);
                public Gtk.JunctionSides get_junction_sides ();
-               public void get_margin (Gtk.StateFlags state, Gtk.Border margin);
-               public void get_padding (Gtk.StateFlags state, Gtk.Border padding);
+               public Gtk.Border get_margin (Gtk.StateFlags state);
+               public Gtk.Border get_padding (Gtk.StateFlags state);
                public unowned Gtk.WidgetPath get_path ();
-               public void get_property (string property, Gtk.StateFlags state, GLib.Value value);
+               public GLib.Value get_property (string property, Gtk.StateFlags state);
                public unowned Gdk.Screen get_screen ();
                public Gtk.StateFlags get_state ();
                public void get_style ();
-               public void get_style_property (string property_name, GLib.Value value);
+               public GLib.Value get_style_property (string property_name);
                public void get_style_valist (void* args);
                public void get_valist (Gtk.StateFlags state, void* args);
                public bool has_class (string style_class);
                public bool has_region (string style_region, Gtk.RegionFlags flags);
                public static unowned Gtk.ThemingEngine load (string name);
-               public bool lookup_color (string color_name, Gdk.RGBA color);
+               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);
                [NoWrapper]
                public virtual void render_activity (Cairo.Context cr, double x, double y, double width, double height);
index 5362c8467f884397959787a2be6cc098ff7aab72..ce18e85c53cf6bcc076582960c92714a3cd92ad1 100644 (file)
@@ -703,6 +703,21 @@ gtk_text_view_window_to_buffer_coords.buffer_y is_out="1"
 gtk_text_view_buffer_to_window_coords.window_x is_out="1"
 gtk_text_view_buffer_to_window_coords.window_y is_out="1"
 gtk_theming_engine_get ellipsis="1"
+gtk_theming_engine_get_border type_name="Gtk.Border"
+gtk_theming_engine_get_border.border hidden="1"
+gtk_theming_engine_get_border_color type_name="Gdk.RGBA"
+gtk_theming_engine_get_border_color.color hidden="1"
+gtk_theming_engine_get_color type_name="Gdk.RGBA"
+gtk_theming_engine_get_color.color hidden="1"
+gtk_theming_engine_get_margin type_name="Gtk.Border"
+gtk_theming_engine_get_margin.margin hidden="1"
+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_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"
 GtkTipsQuery::start_query has_emitter="1"
 GtkTipsQuery::stop_query has_emitter="1"
 gtk_toggle_action_new.label nullable="1"