summaryrefslogtreecommitdiff
path: root/gdk/gdkinternals.h
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/gdkinternals.h
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/gdkinternals.h')
-rw-r--r--gdk/gdkinternals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index f25672fd58..445c255bfb 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -327,6 +327,9 @@ cairo_surface_t * _gdk_drawable_create_cairo_surface (GdkDrawable *drawable,
* Interfaces used by windowing code *
*************************************/
+cairo_surface_t *
+ _gdk_window_ref_cairo_surface (GdkWindow *window);
+
void _gdk_window_impl_new (GdkWindow *window,
GdkWindow *real_parent,
GdkScreen *screen,