]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkoffscreenwindow.c
gdk: Make gdk_pixbuf_get_from_*() bindable
[~andy/gtk] / gtk / gtkoffscreenwindow.c
index 69356fd151db75641daa188c029de99fda4e3988..ee37a9ae1dbea272ec7feb1f59e6c23f77581dc4 100644 (file)
@@ -314,8 +314,8 @@ gtk_offscreen_window_get_pixbuf (GtkOffscreenWindow *offscreen)
 
   if (surface != NULL)
     {
-      pixbuf = gdk_pixbuf_get_from_surface (NULL, surface,
-                                            0, 0, 0, 0,
+      pixbuf = gdk_pixbuf_get_from_surface (surface,
+                                            0, 0,
                                             gdk_window_get_width (window),
                                             gdk_window_get_height (window));
     }