[gtk+] gdk: Remove unused variable
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk: Remove unused variable
- Date: Tue, 19 Sep 2017 17:21:18 +0000 (UTC)
commit c00567a64cf63c7211d2f0c8457901fee64cee4d
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Sep 15 19:23:14 2017 +0200
gdk: Remove unused variable
It was supporting API that has been removed.
gdk/gdkdisplay.c | 3 ---
gdk/gdkdisplayprivate.h | 1 -
2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 0092c85..ad83511 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -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)
diff --git a/gdk/gdkdisplayprivate.h b/gdk/gdkdisplayprivate.h
index fb5c1f5..ee5d694 100644
--- a/gdk/gdkdisplayprivate.h
+++ b/gdk/gdkdisplayprivate.h
@@ -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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]