summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2005-07-21 03:57:00 +0000
committerKeith Packard <keithp@src.gnome.org>2005-07-21 03:57:00 +0000
commit9917173c411c02fc2091a6ce8582a80862fd3011 (patch)
tree4f77a5cda96a117ea722d3c535b36fe71a3764c9 /gdk
parent708cf95507983a1b478e4289fe7fa2f7c785beeb (diff)
downloadgdk-pixbuf-9917173c411c02fc2091a6ce8582a80862fd3011.tar.gz
Follow change in cairo API to add Screen* to
2005-07-20 Keith Packard <keithp@keithp.com> * gdk/x11/gdkdrawable-x11.c: (gdk_x11_ref_cairo_surface): Follow change in cairo API to add Screen* to cairo_xlib_create_surface_for_bitmap
Diffstat (limited to 'gdk')
-rw-r--r--gdk/x11/gdkdrawable-x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/x11/gdkdrawable-x11.c b/gdk/x11/gdkdrawable-x11.c
index 15a41c437..e18208bde 100644
--- a/gdk/x11/gdkdrawable-x11.c
+++ b/gdk/x11/gdkdrawable-x11.c
@@ -1485,6 +1485,7 @@ gdk_x11_ref_cairo_surface (GdkDrawable *drawable)
else if (gdk_drawable_get_depth (drawable) == 1)
impl->cairo_surface = cairo_xlib_surface_create_for_bitmap (GDK_SCREEN_XDISPLAY (impl->screen),
impl->xid,
+ GDK_SCREEN_XSCREEN (impl->screen),
width, height);
else
{