[mutter] plugin-manager: Remove a bogus check
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] plugin-manager: Remove a bogus check
- Date: Wed, 9 Jan 2013 19:06:34 +0000 (UTC)
commit 9596c24f83181076d469813edaefc9db110ca789
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Dec 21 07:06:40 2012 -0500
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 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/compositor/meta-plugin-manager.c b/src/compositor/meta-plugin-manager.c
index 87b50b3..130a82b 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]