diff options
Diffstat (limited to 'gtk/gtkoffscreenwindow.c')
-rw-r--r-- | gtk/gtkoffscreenwindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkoffscreenwindow.c b/gtk/gtkoffscreenwindow.c index 69356fd151..ee37a9ae1d 100644 --- a/gtk/gtkoffscreenwindow.c +++ b/gtk/gtkoffscreenwindow.c @@ -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)); } |