[gtk+/wip/unfocused-fixes] toolitemgroup: Use the widget state flags as a base for drawing
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/unfocused-fixes] toolitemgroup: Use the widget state flags as a base for drawing
- Date: Thu, 22 Dec 2011 03:05:00 +0000 (UTC)
commit 517cb5c541836eea45037ba621ae17d8568f6689
Author: Rui Matos <tiagomatos gmail com>
Date: Thu Dec 22 00:31:07 2011 +0000
toolitemgroup: Use the widget state flags as a base for drawing
gtk/gtktoolitemgroup.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c
index bb59b05..40b10e3 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]