[vala] gtk+-2.0, gtk+-3.0: Fix gtk_style_copy binding



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

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

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    1 +
 4 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index bb36748..0f8ddad 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -4117,7 +4117,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/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index da86016..d2f7238 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -3905,7 +3905,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 (Cairo.Context cr, Gtk.StateType state_type, Gtk.ShadowType shadow_type, 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 5994c35..6ecba2c 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -530,6 +530,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"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 8ace60b..0272404 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -542,6 +542,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]