gnome-shell-plugin: Fix unused variable warning

This commit is contained in:
Jasper St. Pierre 2013-08-26 20:06:20 -04:00
parent 41aa14eaf0
commit 2c2268b39d

View File

@ -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))