From 2c2268b39de3c3a6ce04f20d8fce4b3b347c76ec Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 26 Aug 2013 20:06:20 -0400 Subject: [PATCH] gnome-shell-plugin: Fix unused variable warning --- src/gnome-shell-plugin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gnome-shell-plugin.c b/src/gnome-shell-plugin.c index 32d5631db..41dce906d 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))