diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c index 0a02376bb9..e5414d4c2e 100644 --- a/gtk/gtkflowbox.c +++ b/gtk/gtkflowbox.c @@ -297,6 +297,9 @@ gtk_flow_box_child_set_focus (GtkFlowBoxChild *child) gboolean modify; gboolean extend; + if (box == NULL) + return; + get_current_selection_modifiers (GTK_WIDGET (box), &modify, &extend); if (modify)