mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
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
This commit is contained in:
parent
86d6baf30f
commit
9596c24f83
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user