]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Fix gtk_image_get_stock binding
authorJürg Billeter <j@bitron.ch>
Sat, 11 Apr 2009 11:46:13 +0000 (13:46 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 12 Apr 2009 16:02:54 +0000 (18:02 +0200)
Based on patch by Simon Wenner, fixes bug 578687.

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

index e55d86282d6174c9f60e964580772d1c964aed05..b9fb3e6e45e4a0f19a3435295b4136cec6ff3ab9 100644 (file)
@@ -1791,7 +1791,7 @@ namespace Gtk {
                public unowned Gdk.Pixbuf get_pixbuf ();
                public int get_pixel_size ();
                public void get_pixmap (out unowned Gdk.Pixmap pixmap, out unowned Gdk.Bitmap mask);
-               public void get_stock (out unowned string stock_id, out Gtk.IconSize size);
+               public void get_stock (out string stock_id, out Gtk.IconSize size);
                public Gtk.ImageType get_storage_type ();
                [CCode (type = "GtkWidget*", has_construct_function = false)]
                public Image ();
index 10f68130b5c63217d03d0c173147951ec7f6b118..539f056f529d0525975e3915ccf851f853e6204f 100644 (file)
@@ -139,7 +139,7 @@ GtkImage.data hidden="1"
 gtk_image_get_icon_name.icon_name is_out="1"
 gtk_image_get_icon_name.size is_out="1"
 gtk_image_get_icon_set.size is_out="1"
-gtk_image_get_stock.stock_id is_out="1"
+gtk_image_get_stock.stock_id is_out="1" transfer_ownership="1"
 gtk_image_get_stock.size is_out="1"
 gtk_image_menu_item_new_from_stock.accel_group nullable="1"
 GtkIMContext::delete_surrounding has_emitter="1"