[vala/0.6] gtk+-2.0: Fix gtk_image_get_stock binding
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala/0.6] gtk+-2.0: Fix gtk_image_get_stock binding
- Date: Sun, 12 Apr 2009 12:14:44 -0400 (EDT)
commit 0d9f73b46b765b3f309d4b6764006f399d675265
Author: Jürg Billeter <j bitron ch>
Date: Sat Apr 11 13:46:13 2009 +0200
gtk+-2.0: Fix gtk_image_get_stock binding
Based on patch by Simon Wenner, fixes bug 578687.
---
vapi/gtk+-2.0.vapi | 2 +-
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index e55d862..b9fb3e6 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -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 ();
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 10f6813..539f056 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]