mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Revert "MetaPluginManager: don't try to deference a NULL pointer when processing events"
This reverts commit 74565380aa
.
This commit is contained in:
parent
5d7deab6da
commit
6f54bab0a8
@ -153,17 +153,10 @@ meta_plugin_manager_event_simple (MetaPluginManager *plugin_mgr,
|
|||||||
MetaWindowActor *actor,
|
MetaWindowActor *actor,
|
||||||
MetaPluginEffect event)
|
MetaPluginEffect event)
|
||||||
{
|
{
|
||||||
MetaPlugin *plugin;
|
MetaPlugin *plugin = plugin_mgr->plugin;
|
||||||
MetaPluginClass *klass;
|
MetaPluginClass *klass = META_PLUGIN_GET_CLASS (plugin);
|
||||||
MetaDisplay *display;
|
MetaDisplay *display = plugin_mgr->compositor->display;
|
||||||
gboolean retval;
|
gboolean retval = FALSE;
|
||||||
|
|
||||||
g_return_val_if_fail (plugin_mgr, FALSE);
|
|
||||||
|
|
||||||
plugin = plugin_mgr->plugin;
|
|
||||||
klass = META_PLUGIN_GET_CLASS (plugin);
|
|
||||||
display = plugin_mgr->compositor->display;
|
|
||||||
retval = FALSE;
|
|
||||||
|
|
||||||
if (display->display_opening)
|
if (display->display_opening)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user