summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-01-26 15:07:52 +0100
committerBenjamin Otte <otte@redhat.com>2019-04-15 14:38:23 +0200
commitc593f86ac64543cd1428aab421ef1a124d5ac7b4 (patch)
tree1e6172dbdd759dcd45bdd161eb799ce318a63d0a /gtk/gtknotebook.c
parentad3ded7ba0aca2d5fdd549d8366afeed5bcf2b1c (diff)
downloadgtk+-c593f86ac64543cd1428aab421ef1a124d5ac7b4.tar.gz
notebook: Add missing return statement
Previously, the code would just fall thrrough and repeat an operation it had tried before, but that seems quite unnecessary.
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 6de6c7e501..0b1d8f7391 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -3780,6 +3780,7 @@ gtk_notebook_focus (GtkWidget *widget,
return TRUE;
if (focus_action_in (notebook, first_action, direction))
return TRUE;
+ return FALSE;
case GTK_DIR_UP:
case GTK_DIR_LEFT:
case GTK_DIR_RIGHT: