[gtk/css-line-height2: 12/12] windowhandle: Quiet a compiler warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/css-line-height2: 12/12] windowhandle: Quiet a compiler warning
- Date: Sun, 22 Aug 2021 18:25:09 +0000 (UTC)
commit 6ac89733a1a13f1bd0b937da2d1a4b23144045ef
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]