summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkdrawable-x11.c
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2010-10-05 15:21:40 +0200
committerKristian Rietveld <kris@gtk.org>2010-10-05 15:38:23 +0200
commiteca2af52306176ebd5370e35b71da7dc7b4f549e (patch)
tree6a13853524aec40e011efd46fec027a87b5d22e5 /gdk/x11/gdkdrawable-x11.c
parenta472d1a4005fea0adab067dea0d263d50c804574 (diff)
downloadgtk+-eca2af52306176ebd5370e35b71da7dc7b4f549e.tar.gz
Make set_cairo_surface_size a vfunc on GdkWindowImpl
Note the special implementation of this method on GdkOffscreenWindow that makes sure its current surface is not destroyed.
Diffstat (limited to 'gdk/x11/gdkdrawable-x11.c')
-rw-r--r--gdk/x11/gdkdrawable-x11.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdk/x11/gdkdrawable-x11.c b/gdk/x11/gdkdrawable-x11.c
index 9214364caa..21107166ea 100644
--- a/gdk/x11/gdkdrawable-x11.c
+++ b/gdk/x11/gdkdrawable-x11.c
@@ -194,15 +194,6 @@ gdk_x11_cairo_surface_destroy (void *data)
impl->cairo_surface = NULL;
}
-gboolean
-_gdk_windowing_set_cairo_surface_size (cairo_surface_t *surface,
- int width,
- int height)
-{
- cairo_xlib_surface_set_size (surface, width, height);
- return TRUE;
-}
-
static cairo_surface_t *
gdk_x11_create_cairo_surface (GdkDrawable *drawable,
int width,