]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gtk+/gtk+-2.6.4-1.osso7/gtkprogress.c.diff
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gtk+ / gtk+-2.6.4-1.osso7 / gtkprogress.c.diff
1 --- gtk+-2.6.4/gtk/gtkprogress.c        2004-10-28 18:00:04.000000000 +0300
2 +++ gtk+-2.6.4/gtk/gtkprogress.c        2005-04-06 16:19:37.066903336 +0300
3 @@ -371,6 +371,17 @@
4                                                    widget->allocation.width,
5                                                    widget->allocation.height,
6                                                    -1);
7 +       
8 +      /* OSSO addition : clear the pixmap first or transparent images
9 +       * painted on top of it may look stupid when it's blended against
10 +       * random memory.*/
11 +      gtk_paint_flat_box (widget->style,
12 +                         progress->offscreen_pixmap,
13 +                         GTK_STATE_NORMAL,
14 +                         GTK_SHADOW_NONE,
15 +                         NULL, widget, NULL,
16 +                         0, 0, widget->allocation.width, widget->allocation.height);
17 +      
18        GTK_PROGRESS_GET_CLASS (progress)->paint (progress);
19      }
20  }