[gtk/backports-for-4-4: 1/19] windowhandle: Quiet a compiler warning




commit 4bb230d7d76b252d7b9538a4512525d79366d011
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 22 14:17:36 2021 -0400

    windowhandle: Quiet a compiler warning
    
    gesture was left uninitialized in the default case.

 gtk/gtkwindowhandle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkwindowhandle.c b/gtk/gtkwindowhandle.c
index b1494043f2..d0ba7fe424 100644
--- a/gtk/gtkwindowhandle.c
+++ b/gtk/gtkwindowhandle.c
@@ -343,7 +343,7 @@ perform_titlebar_action (GtkWindowHandle *self,
       gesture = GDK_TITLEBAR_GESTURE_RIGHT_CLICK;
       break;
     default:
-      break;
+      return FALSE;
     }
 
   if (gdk_toplevel_titlebar_gesture (GDK_TOPLEVEL (surface), gesture))


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