]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-2.0: Fix gdk_pixmap_new binding
authorJürg Billeter <j@bitron.ch>
Thu, 7 May 2009 13:49:00 +0000 (15:49 +0200)
committerJürg Billeter <j@bitron.ch>
Thu, 7 May 2009 13:49:00 +0000 (15:49 +0200)
Fixes bug 578163.

vapi/gdk-2.0.vapi
vapi/packages/gdk-2.0/gdk-2.0.metadata

index e409f75860d3eee13fdc1cd6ce9698b1cba4e11f..ed7ea7400c479f17d8d6d2ab754e65b6dbac9e50 100644 (file)
@@ -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")]
index d441709e13cb315f12e871621d388b1db1eff347..369d175a490d9a435ffcbf3dac673c9923b9eddc 100644 (file)
@@ -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"