summaryrefslogtreecommitdiff
path: root/gdk/gdkevents.c
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2010-10-28 16:43:55 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2010-10-28 16:43:55 -0400
commit398728feb520d6f31f23055d2c33888a9396cdaf (patch)
treed48ce35f03ba97256c613aeb7970680bdafc019c /gdk/gdkevents.c
parent7da5cd5fe627d4693285a4a9f4886699fae8477b (diff)
downloadgtk+-398728feb520d6f31f23055d2c33888a9396cdaf.tar.gz
Remove unused GdkDeviceManager variable
gdk_display_get_device_manager() was called but the device manager not used.
Diffstat (limited to 'gdk/gdkevents.c')
-rw-r--r--gdk/gdkevents.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 7fd197ec0b..7d7a7dbd02 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 ||