summaryrefslogtreecommitdiff
path: root/gdk/gdkoffscreenwindow.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-11-22 17:23:31 +0100
committerBenjamin Otte <otte@redhat.com>2010-12-02 20:21:02 +0100
commit072498ae87256b5ff2cbf6555128a9791b091245 (patch)
tree5d96547b530dcb1c0918778925f90143eb7479f8 /gdk/gdkoffscreenwindow.c
parente724054d19d617107cfc4d9be116b376bfee249d (diff)
downloadgtk+-072498ae87256b5ff2cbf6555128a9791b091245.tar.gz
gdk: Make _gdk_window_ref_cairo_surface() protected and use it
... instead of _gdk_drawable_ref_cairo_surface() where appropriate. Also, don't implement the drawable->create_cairo_surface vfunc anymore. This is in preparation for the split of GdkWindow from GdkDrawable.
Diffstat (limited to 'gdk/gdkoffscreenwindow.c')
-rw-r--r--gdk/gdkoffscreenwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c
index f7c071b16c..9f321eb4f2 100644
--- a/gdk/gdkoffscreenwindow.c
+++ b/gdk/gdkoffscreenwindow.c
@@ -160,7 +160,7 @@ _gdk_offscreen_window_create_surface (GdkWindow *offscreen,
g_return_val_if_fail (GDK_IS_OFFSCREEN_WINDOW (private->impl), NULL);
- similar = _gdk_drawable_ref_cairo_surface ((GdkWindow *)private->parent);
+ similar = _gdk_window_ref_cairo_surface ((GdkWindow *)private->parent);
if (gdk_window_get_visual (offscreen) ==
gdk_screen_get_rgba_visual (gdk_window_get_screen (offscreen)))