forked from AuroraMiddleware/gtk
Remove unused GdkDeviceManager variable
gdk_display_get_device_manager() was called but the device manager not used.
This commit is contained in:
parent
ac0b97aa23
commit
2d65bd08c3
@ -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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user