aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-gui-utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/misc/e-gui-utils.c b/widgets/misc/e-gui-utils.c
index 6fbcd9532f..122d0a86d9 100644
--- a/widgets/misc/e-gui-utils.c
+++ b/widgets/misc/e-gui-utils.c
@@ -138,6 +138,9 @@ e_container_change_tab_order_callback(GtkContainer *container,
focus_child = container->focus_child;
+ if (focus_child == NULL)
+ return FALSE;
+
if (direction == GTK_DIR_TAB_BACKWARD) {
children = g_list_last(children);
}