diff options
author | Owen Taylor <otaylor@src.gnome.org> | 1998-11-06 22:05:02 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-11-06 22:05:02 +0000 |
commit | e2a521922085c8010028e227f61bba59ea6b8242 (patch) | |
tree | 2500d6aa6f63aab4b58c17546532ecce8fdcca37 /gtk/gtkhseparator.c | |
parent | 3c0df19a588bd96f328bda975db8eb9fa7f79e81 (diff) | |
download | gtk+-e2a521922085c8010028e227f61bba59ea6b8242.tar.gz |
Merge from themes-2. See the ChangeLog for a somewhat detailed
history of the evolution of the changes involved. Most of this
is actually minor painting tweaks.
Diffstat (limited to 'gtk/gtkhseparator.c')
-rw-r--r-- | gtk/gtkhseparator.c | 11 |
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; } |