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.
This commit is contained in:
Benjamin Otte
2010-08-26 13:46:34 +02:00
parent ebdf26e1d8
commit 332652f702
13 changed files with 72 additions and 74 deletions

View File

@ -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);