[gtk] notebook: Add missing return statement



commit c593f86ac64543cd1428aab421ef1a124d5ac7b4
Author: Benjamin Otte <otte redhat com>
Date:   Sat Jan 26 15:07:52 2019 +0100

    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.

 gtk/gtknotebook.c | 1 +
 1 file changed, 1 insertion(+)
---
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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]