summaryrefslogtreecommitdiff
path: root/plugins/gtkui/gtkplaylist.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-07 18:50:56 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-07 18:50:56 +0100
commit3e35530d169a0a4a6f19bf7465a4a149a658e6f8 (patch)
tree8cc796165cefede4b1ba2ad8e47f3938476a8d80 /plugins/gtkui/gtkplaylist.c
parent05136b7bbd1d627f3b01a3c44095e5e765f1e733 (diff)
more compatibility fixes for qtcurve
Diffstat (limited to 'plugins/gtkui/gtkplaylist.c')
-rw-r--r--plugins/gtkui/gtkplaylist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/gtkplaylist.c b/plugins/gtkui/gtkplaylist.c
index 1b5eab14..f8b5d3e5 100644
--- a/plugins/gtkui/gtkplaylist.c
+++ b/plugins/gtkui/gtkplaylist.c
@@ -1272,14 +1272,14 @@ gtkpl_header_draw (gtkplaylist_t *ps) {
#endif
// draw empty slot
if (x < widget->allocation.width) {
- gtk_paint_box (widget->style, ps->backbuf_header, GTK_STATE_ACTIVE, GTK_SHADOW_ETCHED_IN, NULL, NULL, "button", x, 0, w, h);
+ gtk_paint_box (widget->style, ps->backbuf_header, GTK_STATE_ACTIVE, GTK_SHADOW_ETCHED_IN, NULL, widget, "button", x, 0, w, h);
}
x = c->movepos;
if (x >= widget->allocation.width) {
break;
}
if (w > 0) {
- gtk_paint_box (widget->style, ps->backbuf_header, GTK_STATE_SELECTED, GTK_SHADOW_OUT, NULL, NULL, "button", x, 0, w, h);
+ gtk_paint_box (widget->style, ps->backbuf_header, GTK_STATE_SELECTED, GTK_SHADOW_OUT, NULL, widget, "button", x, 0, w, h);
GdkColor *gdkfg = &widget->style->fg[GTK_STATE_SELECTED];
float fg[3] = {(float)gdkfg->red/0xffff, (float)gdkfg->green/0xffff, (float)gdkfg->blue/0xffff};
draw_set_fg_color (fg);