[gtk/readonly-events-1: 27/51] x11: Remove an unnecessary check
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/readonly-events-1: 27/51] x11: Remove an unnecessary check
- Date: Mon, 17 Feb 2020 05:49:02 +0000 (UTC)
commit 2967afa7c7b2701858a28e2b7e0ed3da8bc134c1
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 15 10:45:28 2020 -0500
x11: Remove an unnecessary check
We are not creating GDK_NOTHING events anymore. Yay
gdk/x11/gdkeventsource.c | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/gdk/x11/gdkeventsource.c b/gdk/x11/gdkeventsource.c
index 2ca0f2c4a6..9c172b51f4 100644
--- a/gdk/x11/gdkeventsource.c
+++ b/gdk/x11/gdkeventsource.c
@@ -292,12 +292,6 @@ gdk_event_source_translate_event (GdkX11Display *x11_display,
}
}
- if (event &&
- event->any.type == GDK_NOTHING)
- {
- g_clear_object (&event);
- }
-
if (event &&
(event->any.type == GDK_ENTER_NOTIFY ||
event->any.type == GDK_LEAVE_NOTIFY) &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]