diff options
author | Debarshi Ray <debarshir@gnome.org> | 2016-12-12 21:12:51 +0100 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2016-12-19 18:05:59 +0100 |
commit | 7331735499e09aeb981f821b540131195a1f31e7 (patch) | |
tree | e2f89db62491d0a251a4addce5a9b043cb60307b /gtk/gtkflowbox.c | |
parent | f5818c594cc310f547b389df315bdf9cb6e8b090 (diff) | |
download | gtk+-7331735499e09aeb981f821b540131195a1f31e7.tar.gz |
flowbox: Don't emit selected-children-changed during destruction
https://bugzilla.gnome.org/show_bug.cgi?id=776012
Diffstat (limited to 'gtk/gtkflowbox.c')
-rw-r--r-- | gtk/gtkflowbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c index c7bd3290d7..eb448795a4 100644 --- a/gtk/gtkflowbox.c +++ b/gtk/gtkflowbox.c @@ -3225,7 +3225,7 @@ gtk_flow_box_remove (GtkContainer *container, if (was_visible && gtk_widget_get_visible (GTK_WIDGET (box))) gtk_widget_queue_resize (GTK_WIDGET (box)); - if (was_selected) + if (was_selected && !gtk_widget_in_destruction (GTK_WIDGET (box))) g_signal_emit (box, signals[SELECTED_CHILDREN_CHANGED], 0); } |