summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-12-08 09:58:23 -0500
committerMatthias Clasen <mclasen@redhat.com>2009-12-08 10:03:19 -0500
commit141716164a16f05cac898962e5cfa96fb24b2ed2 (patch)
tree3f3baef5b52473ca14065059052e2b5fc0da618d
parentd71364f38666b958bb2dd89fdbbacb6418312835 (diff)
downloadgdk-pixbuf-141716164a16f05cac898962e5cfa96fb24b2ed2.tar.gz
Set colormap of offscreen pixmaps
This fixes problems in clutter-gtk. See bug 603619.
-rw-r--r--gdk/gdkoffscreenwindow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c
index 76d90158c..dcba0a16e 100644
--- a/gdk/gdkoffscreenwindow.c
+++ b/gdk/gdkoffscreenwindow.c
@@ -659,6 +659,7 @@ _gdk_offscreen_window_new (GdkWindow *window,
private->width,
private->height,
private->depth);
+ gdk_drawable_set_colormap (offscreen->pixmap, offscreen->colormap);
}
static gboolean