[vala] gtk+-3.0: Fix ThemingEngine.get_* and lookup_color return values



commit cc0db5c098ae237a2e1c32ffdfbace2717d805a8
Author: Luca Bruno <lucabru src gnome org>
Date:   Wed Jun 22 22:08:37 2011 +0200

    gtk+-3.0: Fix ThemingEngine.get_* and lookup_color return values
    
    Fixes bug 653188.

 vapi/gtk+-3.0.vapi                       |   16 ++++++++--------
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |   15 +++++++++++++++
 2 files changed, 23 insertions(+), 8 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 0f26251..87edc2d 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -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);
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 5362c84..ce18e85 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -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"



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