[gtk/gtk-3-24] Don't make initializing return_val conditional.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24] Don't make initializing return_val conditional.
- Date: Sun, 16 Dec 2018 01:47:08 +0000 (UTC)
commit baa283b73b917ca033831a36f487696e9f9b1dbe
Author: John Ralls <jralls ceridwen us>
Date: Fri Dec 14 15:57:24 2018 -0800
Don't make initializing return_val conditional.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1517
gdk/quartz/gdkevents-quartz.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c
index 952d4a8189..642fe7f1ee 100644
--- a/gdk/quartz/gdkevents-quartz.c
+++ b/gdk/quartz/gdkevents-quartz.c
@@ -1551,8 +1551,10 @@ gdk_event_translate (GdkEvent *event,
grab = _gdk_display_get_last_device_grab (_gdk_display,
gdk_seat_get_pointer (seat));
}
- return_val = TRUE;
}
+
+ return_val = TRUE;
+
switch (event_type)
{
case GDK_QUARTZ_LEFT_MOUSE_DOWN:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]