diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-08-16 00:32:56 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-08-22 18:30:31 +0200 |
commit | 1577a7d4152e04354458105fd3029c3f82c10ba4 (patch) | |
tree | 9df830e5ce0e38d6b0342031f2594650473e6ee8 /tests/testoffscreenwindow.c | |
parent | 26d837dd2fe08078d52ba690e2edb705a323c330 (diff) | |
download | gtk+-1577a7d4152e04354458105fd3029c3f82c10ba4.tar.gz |
tests/testoffscreenwindow.c: Use accessor functions to access GtkWidget
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 852a073c49..bf6a321f13 100644 --- a/tests/testoffscreenwindow.c +++ b/tests/testoffscreenwindow.c @@ -13,7 +13,7 @@ da_expose (GtkWidget *widget, { pixmap = gtk_offscreen_window_get_pixmap (offscreen); - cr = gdk_cairo_create (widget->window); + cr = gdk_cairo_create (gtk_widget_get_window (widget)); gdk_cairo_set_source_pixmap (cr, pixmap, 50, 50); cairo_paint (cr); cairo_destroy (cr); |