gdk: Remove unused variable

It was supporting API that has been removed.
This commit is contained in:
Carlos Garnacho 2017-09-15 19:23:14 +02:00
parent 0317b0d18d
commit c00567a64c
2 changed files with 0 additions and 4 deletions

View File

@ -404,8 +404,6 @@ gdk_display_dispose (GObject *object)
display->queued_events = NULL;
display->queued_tail = NULL;
g_list_foreach (display->input_devices, (GFunc) g_object_run_dispose, NULL);
if (device_manager)
{
/* this is to make it drop devices which may require using the X
@ -430,7 +428,6 @@ gdk_display_finalize (GObject *object)
g_hash_table_destroy (display->pointers_info);
g_list_free_full (display->input_devices, g_object_unref);
g_list_free_full (display->seats, g_object_unref);
if (display->device_manager)

View File

@ -86,7 +86,6 @@ struct _GdkDisplay
GHashTable *device_grabs;
GdkDeviceManager *device_manager;
GList *input_devices; /* Deprecated, only used to keep gdk_display_list_devices working */
GHashTable *pointers_info; /* GdkPointerWindowInfo for each device */
guint32 last_event_time; /* Last reported event time from server */