summaryrefslogtreecommitdiff
path: root/gtk/gtkvseparator.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@src.gnome.org>1998-11-06 22:05:02 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-11-06 22:05:02 +0000
commite2a521922085c8010028e227f61bba59ea6b8242 (patch)
tree2500d6aa6f63aab4b58c17546532ecce8fdcca37 /gtk/gtkvseparator.c
parent3c0df19a588bd96f328bda975db8eb9fa7f79e81 (diff)
downloadgtk+-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/gtkvseparator.c')
-rw-r--r--gtk/gtkvseparator.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/gtkvseparator.c b/gtk/gtkvseparator.c
index eb70f01af0..dac67f20c8 100644
--- a/gtk/gtkvseparator.c
+++ b/gtk/gtkvseparator.c
@@ -83,11 +83,12 @@ gtk_vseparator_expose (GtkWidget *widget,
g_return_val_if_fail (event != NULL, FALSE);
if (GTK_WIDGET_DRAWABLE (widget))
- gtk_draw_vline (widget->style, widget->window, GTK_STATE_NORMAL,
- widget->allocation.y,
- widget->allocation.y + widget->allocation.height,
- widget->allocation.x + (widget->allocation.width -
- widget->style->klass->xthickness) / 2);
+ gtk_paint_vline (widget->style, widget->window, GTK_STATE_NORMAL,
+ &event->area, widget, "vseparator",
+ widget->allocation.y,
+ widget->allocation.y + widget->allocation.height,
+ widget->allocation.x + (widget->allocation.width -
+ widget->style->klass->xthickness) / 2);
return FALSE;
}