mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-29 18:47:38 +00:00
toolitemgroup: Use the widget state flags as a base for drawing
This commit is contained in:
parent
4011326388
commit
8bb0773535
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user