summaryrefslogtreecommitdiff
path: root/gtk/gtkhseparator.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkhseparator.c')
-rw-r--r--gtk/gtkhseparator.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/gtkhseparator.c b/gtk/gtkhseparator.c
index 88cd4642f9..16b5908a27 100644
--- a/gtk/gtkhseparator.c
+++ b/gtk/gtkhseparator.c
@@ -83,11 +83,12 @@ gtk_hseparator_expose (GtkWidget *widget,
g_return_val_if_fail (event != NULL, FALSE);
if (GTK_WIDGET_DRAWABLE (widget))
- gtk_draw_hline (widget->style, widget->window, GTK_STATE_NORMAL,
- widget->allocation.x,
- widget->allocation.x + widget->allocation.width,
- widget->allocation.y + (widget->allocation.height -
- widget->style->klass->ythickness) / 2);
+ gtk_paint_hline (widget->style, widget->window, GTK_STATE_NORMAL,
+ &event->area, widget, "hseparator",
+ widget->allocation.x,
+ widget->allocation.x + widget->allocation.width,
+ widget->allocation.y + (widget->allocation.height -
+ widget->style->klass->ythickness) / 2);
return FALSE;
}