]> 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>
Sat, 11 Apr 2009 11:46:13 +0000 (13:46 +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 7a2150eae724257135b1593d7a214e45e071ae74..f33f49f47e5f80757a91c5878a67b039bc5b293d 100644 (file)
@@ -1926,7 +1926,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 a637e225fd461b894ae65f8e1d9d8d659b084d94..f14405d098b9d6549c36130d6ec279686f7ca0ee 100644 (file)
@@ -140,7 +140,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"