[gtk+/treeview-refactor] Remove unused GdkDeviceManager variable
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/treeview-refactor] Remove unused GdkDeviceManager variable
- Date: Sat, 30 Oct 2010 08:33:16 +0000 (UTC)
commit 2d65bd08c31aaaa00d22cd24d76057404a0a95f1
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Thu Oct 28 16:43:55 2010 -0400
Remove unused GdkDeviceManager variable
gdk_display_get_device_manager() was called but the device manager
not used.
gdk/gdkevents.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 7fd197e..7d7a7db 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -1033,14 +1033,12 @@ gdk_event_get_device (const GdkEvent *event)
{
GdkDisplay *display;
GdkDevice *core_pointer;
- GdkDeviceManager *device_manager;
g_warning ("Event with type %d not holding a GdkDevice. "
"It is most likely synthesized outside Gdk/GTK+\n",
event->type);
display = gdk_window_get_display (event->any.window);
- device_manager = gdk_display_get_device_manager (display);
core_pointer = gdk_display_get_core_pointer (display);
if (event->type == GDK_KEY_PRESS ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]