mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
demos: No need to set the background, it gets overridden anyway
This commit is contained in:
parent
de2a4d1b1a
commit
36f0a96161
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user