summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Boles <dboles.src@gmail.com>2018-04-08 18:32:16 +0100
committerDaniel Boles <dboles.src@gmail.com>2018-04-08 18:49:22 +0100
commitb2caaaa3f9c8d501a9c9e5a1aaefd865eaa918dd (patch)
tree4ceefc4d27fd8e502ce7f2abcc613e890368a0e6
parentb7e5a2dd100f797e5dde9f368c81588277cab374 (diff)
downloadgtk+-b2caaaa3f9c8d501a9c9e5a1aaefd865eaa918dd.tar.gz
Revert "ModelButton: Properly update indicator on set_role"
This reverts commit ba307aa35ead66d0ab15dc55d148c229f3cd394a. This is not needed; see the previous commit for the explanation. https://gitlab.gnome.org/GNOME/gtk/issues/163#note_94842
-rw-r--r--gtk/gtkmodelbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmodelbutton.c b/gtk/gtkmodelbutton.c
index 1c88f5c014..a38e51b80b 100644
--- a/gtk/gtkmodelbutton.c
+++ b/gtk/gtkmodelbutton.c
@@ -361,7 +361,7 @@ gtk_model_button_set_role (GtkModelButton *button,
update_node_name (button);
gtk_model_button_update_state (button);
- gtk_widget_queue_resize (GTK_WIDGET (button));
+ gtk_widget_queue_draw (GTK_WIDGET (button));
g_object_notify_by_pspec (G_OBJECT (button), properties[PROP_ROLE]);
}