[gtk+/rendering-cleanup: 80/141] demos: No need to set the background, it gets overridden anyway
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 80/141] demos: No need to set the background, it gets overridden anyway
- Date: Sat, 11 Sep 2010 03:07:21 +0000 (UTC)
commit 70ef415387329f2d925779b39945d0668d5f69c0
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 50244e4..6d519f5 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]