[gnome-shell] gnome-shell-plugin: Fix unused variable warning



commit 2c2268b39de3c3a6ce04f20d8fce4b3b347c76ec
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Aug 26 20:06:20 2013 -0400

    gnome-shell-plugin: Fix unused variable warning

 src/gnome-shell-plugin.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-shell-plugin.c b/src/gnome-shell-plugin.c
index 32d5631..41dce90 100644
--- a/src/gnome-shell-plugin.c
+++ b/src/gnome-shell-plugin.c
@@ -325,9 +325,8 @@ gnome_shell_plugin_xevent_filter (MetaPlugin *plugin,
                                   XEvent     *xev)
 {
   MetaScreen *screen = meta_plugin_get_screen (plugin);
-  MetaDisplay *display = meta_screen_get_display (screen);
-
   GnomeShellPlugin *shell_plugin = GNOME_SHELL_PLUGIN (plugin);
+
 #ifdef GLX_INTEL_swap_event
   if (shell_plugin->have_swap_event &&
       xev->type == (shell_plugin->glx_event_base + GLX_BufferSwapComplete))


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