summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-27 12:31:32 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:30 +0200
commit36f0a96161d688d0c0da76e80ada78a943aab045 (patch)
tree448885ba8a7d677381a92eb30bb9a95677b168d5 /demos
parentde2a4d1b1ac47a903b2f37f2d0c744b4ba198ce7 (diff)
downloadgtk+-36f0a96161d688d0c0da76e80ada78a943aab045.tar.gz
demos: No need to set the background, it gets overridden anyway
Diffstat (limited to 'demos')
-rw-r--r--demos/testpixbuf-scale.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/demos/testpixbuf-scale.c b/demos/testpixbuf-scale.c
index 3eb9b0abfa..4d0d0d0351 100644
--- a/demos/testpixbuf-scale.c
+++ b/demos/testpixbuf-scale.c
@@ -38,9 +38,6 @@ expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
GdkPixbuf *dest;
cairo_t *cr;
- gdk_window_set_back_pixmap (gtk_widget_get_window (widget),
- NULL, FALSE);
-
dest = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, event->area.width, event->area.height);
gtk_widget_get_allocation (widget, &allocation);