summaryrefslogtreecommitdiff
path: root/gdk/gdkwindow.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-26 13:46:34 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:29 +0200
commit332652f702c3cd31a4bdccc709bef6922028185e (patch)
treeed0858cbe6b46ec909ce053741c4f805c741030f /gdk/gdkwindow.h
parentebdf26e1d8b864e2f61b64840f4ee2d445d34009 (diff)
downloadgtk+-332652f702c3cd31a4bdccc709bef6922028185e.tar.gz
API: Change offscreen windows to use a cairo_surface_t
This requires changes to all the offscreen surface getters that used to return a GdkPixmap before.
Diffstat (limited to 'gdk/gdkwindow.h')
-rw-r--r--gdk/gdkwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h
index 4c02cc2849..3ce4abdafe 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -846,7 +846,8 @@ GdkPointerHooks *gdk_set_pointer_hooks (const GdkPointerHooks *new_hooks);
GdkWindow *gdk_get_default_root_window (void);
/* Offscreen redirection */
-GdkPixmap *gdk_offscreen_window_get_pixmap (GdkWindow *window);
+cairo_surface_t *
+ gdk_offscreen_window_get_surface (GdkWindow *window);
void gdk_offscreen_window_set_embedder (GdkWindow *window,
GdkWindow *embedder);
GdkWindow *gdk_offscreen_window_get_embedder (GdkWindow *window);