diff options
author | Michael Natterer <mitch@gimp.org> | 2010-10-14 13:25:23 +0200 |
---|---|---|
committer | Michael Natterer <mitch@gimp.org> | 2010-10-14 13:25:23 +0200 |
commit | 9d9742f1e56a331f71c6a46b11ccc765621d46c7 (patch) | |
tree | 2a8736e41f6ea1f8ab254bcda86a41c711cd3240 /gdk/gdkwindow.h | |
parent | 10c76c1c956c9dee46a6d9e28b9456967d508889 (diff) | |
download | gtk+-9d9742f1e56a331f71c6a46b11ccc765621d46c7.tar.gz |
Bug 631599 - Allow to use arbitrary surfaces for offscreen windows
Add signal GdkWindow::create-surface which allows to use any
surface type as storage for offscreen windows.
Test the new signal in tests/gdkoffscreenbox.c
Diffstat (limited to 'gdk/gdkwindow.h')
-rw-r--r-- | gdk/gdkwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h index 5f2c6cbbc3..05a998930e 100644 --- a/gdk/gdkwindow.h +++ b/gdk/gdkwindow.h @@ -489,6 +489,10 @@ typedef struct _GdkWindowObjectClass GdkWindowObjectClass; struct _GdkWindowObjectClass { GdkDrawableClass parent_class; + + cairo_surface_t * (* create_surface) (GdkWindow *window, + gint width, + gint height); }; /* Windows |