diff options
author | Rui Matos <tiagomatos@gmail.com> | 2011-12-22 00:31:07 +0000 |
---|---|---|
committer | Rui Matos <tiagomatos@gmail.com> | 2012-01-09 16:45:44 +0000 |
commit | 8bb0773535fdd474cd1d4f0cbcc3f8465f8b2f88 (patch) | |
tree | d45aed833ed57be74ca556808ed5feba8d7dec82 /gtk/gtktoolitemgroup.c | |
parent | 4011326388ee77f3be72ff268ff237f48ab7c823 (diff) | |
download | gtk+-8bb0773535fdd474cd1d4f0cbcc3f8465f8b2f88.tar.gz |
toolitemgroup: Use the widget state flags as a base for drawing
Diffstat (limited to 'gtk/gtktoolitemgroup.c')
-rw-r--r-- | gtk/gtktoolitemgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c index bb59b05059..40b10e38f4 100644 --- a/gtk/gtktoolitemgroup.c +++ b/gtk/gtktoolitemgroup.c @@ -277,6 +277,7 @@ gtk_tool_item_group_header_draw_cb (GtkWidget *widget, width = gtk_widget_get_allocated_width (widget); height = gtk_widget_get_allocated_height (widget); context = gtk_widget_get_style_context (widget); + state = gtk_widget_get_state_flags (widget); if (!priv->collapsed) state |= GTK_STATE_FLAG_ACTIVE; |