diff options
Diffstat (limited to 'gdk/gdkimage.c')
-rw-r--r-- | gdk/gdkimage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/gdkimage.c b/gdk/gdkimage.c index 4d009f9f42..2cc850b532 100644 --- a/gdk/gdkimage.c +++ b/gdk/gdkimage.c @@ -353,7 +353,8 @@ gdk_image_get (GdkWindow *window, image->mem = private->ximage->data; image->bpl = private->ximage->bytes_per_line; - image->bpp = 1; + image->bpp = private->ximage->bits_per_pixel; + image->byte_order = private->ximage->byte_order; return image; } |