diff --git a/src/item-bar.c b/src/item-bar.c index de91873..7d23dcd 100644 --- a/src/item-bar.c +++ b/src/item-bar.c @@ -299,7 +299,7 @@ ib_draw_cell (ItemBar const * const ib, GdkDrawable *drawable, gdk_draw_rectangle (drawable, gc, TRUE, rect->x + 1, rect->y + 1, rect->width - 1, rect->height - 1); gtk_paint_shadow (canvas->style, drawable, GTK_STATE_NORMAL, shadow, - NULL, NULL, "GnmItemBarCell", + NULL, canvas, "GnmItemBarCell", rect->x, rect->y, rect->width + 1, rect->height + 1); g_return_if_fail (font != NULL); diff --git a/src/sheet-control-gui.c b/src/sheet-control-gui.c index 7e61530..6bf5347 100644 --- a/src/sheet-control-gui.c +++ b/src/sheet-control-gui.c @@ -601,7 +601,7 @@ cb_select_all_btn_expose (GtkWidget *widget, GdkEventExpose *event, SheetControl TRUE, offset + 1, 1, widget->allocation.width - 1, widget->allocation.height - 1); gtk_paint_shadow (widget->style, widget->window, GTK_STATE_NORMAL, GTK_SHADOW_OUT, - NULL, NULL, "GnmItemBarCell", + NULL, widget, "GnmItemBarCell", offset, 0, widget->allocation.width + 1, widget->allocation.height + 1); }