Commit 9596c24f authored by Jasper St. Pierre's avatar Jasper St. Pierre
Browse files

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
parent 86d6baf3
...@@ -309,9 +309,6 @@ meta_plugin_manager_xevent_filter (MetaPluginManager *plugin_mgr, ...@@ -309,9 +309,6 @@ meta_plugin_manager_xevent_filter (MetaPluginManager *plugin_mgr,
MetaPlugin *plugin = plugin_mgr->plugin; MetaPlugin *plugin = plugin_mgr->plugin;
MetaPluginClass *klass = META_PLUGIN_GET_CLASS (plugin); MetaPluginClass *klass = META_PLUGIN_GET_CLASS (plugin);
if (!plugin_mgr)
return FALSE;
/* We need to make sure that clutter gets certain events, like /* We need to make sure that clutter gets certain events, like
* ConfigureNotify on the stage window. If there is a plugin that * ConfigureNotify on the stage window. If there is a plugin that
* provides an xevent_filter function, then it's the responsibility * provides an xevent_filter function, then it's the responsibility
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment