From 9596c24f83181076d469813edaefc9db110ca789 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 21 Dec 2012 07:06:40 -0500 Subject: [PATCH] plugin-manager: Remove a bogus check We dereference the plugin_mgr in the initializer above, so it's wrong. https://bugzilla.gnome.org/show_bug.cgi?id=690609 --- src/compositor/meta-plugin-manager.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/compositor/meta-plugin-manager.c b/src/compositor/meta-plugin-manager.c index 87b50b3f5..130a82bf7 100644 --- a/src/compositor/meta-plugin-manager.c +++ b/src/compositor/meta-plugin-manager.c @@ -309,9 +309,6 @@ meta_plugin_manager_xevent_filter (MetaPluginManager *plugin_mgr, MetaPlugin *plugin = plugin_mgr->plugin; MetaPluginClass *klass = META_PLUGIN_GET_CLASS (plugin); - if (!plugin_mgr) - return FALSE; - /* We need to make sure that clutter gets certain events, like * ConfigureNotify on the stage window. If there is a plugin that * provides an xevent_filter function, then it's the responsibility