Commit 7661da23 authored by Tim Janik's avatar Tim Janik Committed by Tim Janik
Browse files

fix adopted from maemo-gtk. gtk_progress_create_pixmap(): clear out the

Tue Jan 17 19:27:59 2006  Tim Janik  <timj@imendio.com>

        * gtk/gtkprogress.c: fix adopted from maemo-gtk.
        gtk_progress_create_pixmap(): clear out the newly created offscreen
        pixmap, so themes making use of transparency don't draw onto garbage.
parent fbcf5882
Tue Jan 17 19:27:59 2006 Tim Janik <timj@imendio.com>
* gtk/gtkprogress.c: fix adopted from maemo-gtk.
gtk_progress_create_pixmap(): clear out the newly created offscreen
pixmap, so themes making use of transparency don't draw onto garbage.
2006-01-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.c: remove the "child-spacing" style property again
......
Tue Jan 17 19:27:59 2006 Tim Janik <timj@imendio.com>
* gtk/gtkprogress.c: fix adopted from maemo-gtk.
gtk_progress_create_pixmap(): clear out the newly created offscreen
pixmap, so themes making use of transparency don't draw onto garbage.
2006-01-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.c: remove the "child-spacing" style property again
......
......@@ -372,6 +372,13 @@ gtk_progress_create_pixmap (GtkProgress *progress)
widget->allocation.width,
widget->allocation.height,
-1);
/* clear the pixmap for transparent themes */
gtk_paint_flat_box (widget->style,
progress->offscreen_pixmap,
GTK_STATE_NORMAL, GTK_SHADOW_NONE,
NULL, widget, "trough", 0, 0, -1, -1);
GTK_PROGRESS_GET_CLASS (progress)->paint (progress);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment