[vala/0.10] gtk+-2.0: Fix gtk_style_copy binding



commit f6bd2be0ba04b93430edfb289f37cbdfc4fbf480
Author: Jürg Billeter <j bitron ch>
Date:   Wed Feb 9 20:32:19 2011 +0100

    gtk+-2.0: Fix gtk_style_copy binding
    
    Fixes bug 641950.

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index af82829..ff1f141 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -3896,7 +3896,7 @@ namespace Gtk {
 		public unowned Gtk.Style attach (Gdk.Window window);
 		[NoWrapper]
 		public virtual unowned Gtk.Style clone ();
-		public virtual void copy ();
+		public virtual Gtk.Style copy ();
 		public void detach ();
 		[NoWrapper]
 		public virtual void draw_arrow (Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, Gtk.ArrowType arrow_type, bool fill, int x, int y, int width, int height);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index c6532fb..9dd5f57 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -522,6 +522,7 @@ GtkStyle.text_gc weak="0"
 GtkStyle.base_gc weak="0"
 GtkStyle.text_aa_gc weak="0"
 GtkStyle.bg_pixmap weak="0"
+gtk_style_copy type_name="Style" transfer_ownership="1"
 gtk_style_lookup_color.color is_out="1"
 gtk_style_get_style_property.value is_out="1"
 GtkTable:row-spacing accessor_method="0"



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