[gtk+/rendering-cleanup: 80/144] demos: No need to set the background, it gets overridden anyway



commit 5ecc4458965cab7aac248acd86b797c7c1c3293c
Author: Benjamin Otte <otte redhat com>
Date:   Fri Aug 27 12:31:32 2010 +0200

    demos: No need to set the background, it gets overridden anyway

 demos/testpixbuf-scale.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/demos/testpixbuf-scale.c b/demos/testpixbuf-scale.c
index 3eb9b0a..4d0d0d0 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]