[gtk+] wayland: Drop an unused variable



commit 9846a37ee3a4e41b986b3334963dcd7f08b89049
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Mar 22 17:53:28 2013 -0400

    wayland: Drop an unused variable
    
    The keymap member in GdkWaylandDisplay is not used at all,
    so drop it.

 gdk/wayland/gdkdisplay-wayland.c |    4 ----
 gdk/wayland/gdkdisplay-wayland.h |    3 ---
 2 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index 4193d53..146b499 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -206,10 +206,6 @@ gdk_wayland_display_finalize (GObject *object)
 
   _gdk_wayland_display_finalize_cursors (display_wayland);
 
-  /* Keymap */
-  if (display_wayland->keymap)
-    g_object_unref (display_wayland->keymap);
-
   /* input GdkDevice list */
   g_list_free_full (display_wayland->input_devices, g_object_unref);
 
diff --git a/gdk/wayland/gdkdisplay-wayland.h b/gdk/wayland/gdkdisplay-wayland.h
index ce2082d..269d447 100644
--- a/gdk/wayland/gdkdisplay-wayland.h
+++ b/gdk/wayland/gdkdisplay-wayland.h
@@ -42,9 +42,6 @@ struct _GdkWaylandDisplay
   GdkDisplay parent_instance;
   GdkScreen *screen;
 
-  /* Keyboard related information */
-  GdkKeymap *keymap;
-
   /* input GdkDevice list */
   GList *input_devices;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]