]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0, gtk+-2.0: make Gtk.Style.clone transfer ownership
authorEvan Nemerson <evan@coeus-group.com>
Tue, 18 Oct 2011 21:35:51 +0000 (14:35 -0700)
committerJürg Billeter <j@bitron.ch>
Wed, 30 Nov 2011 13:36:44 +0000 (14:36 +0100)
vapi/gtk+-2.0.vapi
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index 83e753239ae278ff95f04e306be562352e4af58b..35a9a4d7231bbc06b4651c0882743132a5edee2c 100644 (file)
@@ -4120,7 +4120,7 @@ namespace Gtk {
                public void apply_default_background (Gdk.Window window, bool set_bg, Gtk.StateType state_type, Gdk.Rectangle area, int x, int y, int width, int height);
                public unowned Gtk.Style attach (Gdk.Window window);
                [NoWrapper]
-               public virtual unowned Gtk.Style clone ();
+               public virtual Gtk.Style clone ();
                public Gtk.Style copy ();
                [CCode (instance_pos = -1, vfunc_name = "copy")]
                [NoWrapper]
index 99932442da60d999b6c50e5d7ae5c65f6324565f..8e80cd52ac1bad8cc1b56e5d050af6ea61c10a91 100644 (file)
@@ -3978,7 +3978,7 @@ namespace Gtk {
                public void apply_default_background (Cairo.Context cr, Gdk.Window window, Gtk.StateType state_type, int x, int y, int width, int height);
                public unowned Gtk.Style attach (Gdk.Window window);
                [NoWrapper]
-               public virtual unowned Gtk.Style clone ();
+               public virtual Gtk.Style clone ();
                public Gtk.Style copy ();
                [CCode (instance_pos = -1, vfunc_name = "copy")]
                [NoWrapper]
index 59251e15230d13bd3f096598000011cec37553ae..3ce5869eb9e73baedbdad5fc45a09ca05dcd863e 100644 (file)
@@ -563,6 +563,7 @@ GtkStyle.text_gc weak="0"
 GtkStyle.base_gc weak="0"
 GtkStyle.text_aa_gc weak="0"
 GtkStyle.bg_pixmap weak="0"
+gtk_style_clone transfer_ownership="1"
 gtk_style_copy virtual="0" type_name="Style" transfer_ownership="1"
 gtk_style_lookup_color.color is_out="1"
 gtk_style_get_style_property.value is_out="1"
index 169c0adba98e67dcc38aa46fb62e50f497b13559..e4d4667da0bb0079b1ae10f008010d6bb7ba4295 100644 (file)
@@ -613,6 +613,7 @@ GtkStyle.text_gc weak="0"
 GtkStyle.base_gc weak="0"
 GtkStyle.text_aa_gc weak="0"
 GtkStyle.bg_pixmap weak="0"
+gtk_style_clone transfer_ownership="1"
 gtk_style_copy virtual="0" type_name="Style" transfer_ownership="1"
 gtk_style_context_get ellipsis="1"
 gtk_style_context_get_background_color type_name="Gdk.RGBA"