[vala] gdk-2.0: Fix gdk_pixmap_new binding



commit 7f3d4b97ef40d73c7562dfe4746f8bb25c333eb5
Author: Jürg Billeter <j bitron ch>
Date:   Thu May 7 15:49:00 2009 +0200

    gdk-2.0: Fix gdk_pixmap_new binding
    
    Fixes bug 578163.
---
 vapi/gdk-2.0.vapi                      |    2 +-
 vapi/packages/gdk-2.0/gdk-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi
index e409f75..ed7ea74 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -323,7 +323,7 @@ namespace Gdk {
 		public static unowned Gdk.Pixmap lookup (Gdk.NativeWindow anid);
 		public static unowned Gdk.Pixmap lookup_for_display (Gdk.Display display, Gdk.NativeWindow anid);
 		[CCode (has_construct_function = false)]
-		public Pixmap (Gdk.Drawable drawable, int width, int height, int depth);
+		public Pixmap (Gdk.Drawable? drawable, int width, int height, int depth);
 	}
 	[Compact]
 	[CCode (cheader_filename = "gdk/gdk.h")]
diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata
index d441709..369d175 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0.metadata
+++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata
@@ -60,6 +60,7 @@ GdkPixmapObject hidden="1"
 GdkPixmapObjectClass hidden="1"
 gdk_pixmap_create_from_xpm.mask is_out="1"
 gdk_pixmap_create_from_xpm_d.mask is_out="1"
+gdk_pixmap_new.drawable nullable="1"
 GdkPoint is_value_type="1"
 gdk_pointer_grab.confine_to nullable="1"
 gdk_pointer_grab.cursor nullable="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]