diff options
author | Cody Russell <crussell@canonical.com> | 2009-12-18 20:08:45 +0100 |
---|---|---|
committer | Cody Russell <bratsche@gnome.org> | 2009-12-28 09:33:42 -0600 |
commit | 1c92a54983e590fc4ae17e26e7b51e7a191c4da1 (patch) | |
tree | 80f1a12337dabb9ba18b7d75b44da0c887bf7880 /tests/testoffscreenwindow.c | |
parent | 5e76656a6593c6c8684aef4931b4402896b6d656 (diff) | |
download | gtk+-1c92a54983e590fc4ae17e26e7b51e7a191c4da1.tar.gz |
Add gtk_offscreen_window_get_pixmap() and gtk_offscreen_window_get_pixbuf(), some API docs.
Diffstat (limited to 'tests/testoffscreenwindow.c')
-rw-r--r-- | tests/testoffscreenwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testoffscreenwindow.c b/tests/testoffscreenwindow.c index 161c9c511f..7358188fc0 100644 --- a/tests/testoffscreenwindow.c +++ b/tests/testoffscreenwindow.c @@ -11,7 +11,7 @@ da_expose (GtkWidget *widget, if (GTK_WIDGET_DRAWABLE (widget)) { - pixmap = gdk_offscreen_window_get_pixmap (GTK_WIDGET (offscreen)->window); + pixmap = gtk_offscreen_window_get_pixmap (offscreen); cr = gdk_cairo_create (widget->window); gdk_cairo_set_source_pixmap (cr, pixmap, 50, 50); |