[Xfce4-commits] <xfce4-session:master> Swap panel check check.
Nick Schermer
noreply at xfce.org
Sat Nov 21 22:26:01 CET 2009
Updating branch refs/heads/master
to f88acc8a1cfff504489242be9aba09da4a2b153c (commit)
from 07f90bbde94634477d268bcf7516eadb6f952cd4 (commit)
commit f88acc8a1cfff504489242be9aba09da4a2b153c
Author: Nick Schermer <nick at xfce.org>
Date: Sat Nov 21 22:22:35 2009 +0100
Swap panel check check.
XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL is defined in both versions
for compatibility, XFCE_PANEL_PLUGIN_REGISTER is only in the
>= 4.7 panel.
panel-plugin/xfsm-logout-plugin.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/panel-plugin/xfsm-logout-plugin.c b/panel-plugin/xfsm-logout-plugin.c
index eebff19..316cf3a 100644
--- a/panel-plugin/xfsm-logout-plugin.c
+++ b/panel-plugin/xfsm-logout-plugin.c
@@ -420,8 +420,8 @@ xfsm_logout_plugin_construct(XfcePanelPlugin *plugin)
g_object_unref(G_OBJECT(uimgr));
}
-#ifdef XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL /* panel <= 4.6 */
-XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL(xfsm_logout_plugin_construct)
-#else /* panel >= 4.7 */
+#ifdef XFCE_PANEL_PLUGIN_REGISTER /* panel >= 4.7 */
XFCE_PANEL_PLUGIN_REGISTER(xfsm_logout_plugin_construct)
+#else /* panel <= 4.6 */
+XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL(xfsm_logout_plugin_construct)
#endif
More information about the Xfce4-commits
mailing list