[gtk/readonly-events-1: 26/27] x11: Remove an unnecessary check
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/readonly-events-1: 26/27] x11: Remove an unnecessary check
- Date: Sat, 15 Feb 2020 18:39:26 +0000 (UTC)
commit d9a7e5a95b80bf0305258bd4d600212c6aae22eb
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]