[gtk/readonly-events-1: 17/22] x11: Remove an unnecessary check
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/readonly-events-1: 17/22] x11: Remove an unnecessary check
- Date: Sat, 15 Feb 2020 20:34:37 +0000 (UTC)
commit 8a5857c51aa98cdd4987a7274cfaafc866677fbd
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]