From 8bb0773535fdd474cd1d4f0cbcc3f8465f8b2f88 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Thu, 22 Dec 2011 00:31:07 +0000 Subject: [PATCH] toolitemgroup: Use the widget state flags as a base for drawing --- gtk/gtktoolitemgroup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c index bb59b0505..40b10e38f 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; -- 2.43.2