[Xfce4-commits] <xfce4-panel:devel> Also rename the renamed function here.

Nick Schermer noreply at xfce.org
Fri Sep 25 21:58:04 CEST 2009


Updating branch refs/heads/devel
         to f41183ecd28290cf15c7f80343b391bce18bae65 (commit)
       from 2e3963ea2325fe6e1c1f92ce6a65f243c5f7703a (commit)

commit f41183ecd28290cf15c7f80343b391bce18bae65
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Sep 25 21:54:51 2009 +0200

    Also rename the renamed function here.

 panel/panel-module.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel/panel-module.c b/panel/panel-module.c
index 3dc2acf..6b02b3c 100644
--- a/panel/panel-module.c
+++ b/panel/panel-module.c
@@ -181,7 +181,7 @@ panel_module_load (GTypeModule *type_module)
     }
 
     /* check if there is a preinit function */
-  if (g_module_symbol (module->library, "__xpp_preinit", &foo))
+  if (g_module_symbol (module->library, "xfce_panel_module_preinit", &foo))
     {
       /* show warning */
       g_warning ("The plugin \"%s\" is marked as internal in the desktop file, "
@@ -199,7 +199,7 @@ panel_module_load (GTypeModule *type_module)
     }
 
   /* try to link the contruct function */
-  if (g_module_symbol (module->library, "__xpp_init", (gpointer) &init_func))
+  if (g_module_symbol (module->library, "xfce_panel_module_init", (gpointer) &init_func))
     {
       /* initialize the plugin */
       module->type = init_func (type_module, &make_resident);
@@ -208,7 +208,7 @@ panel_module_load (GTypeModule *type_module)
       if (make_resident)
         g_module_make_resident (module->library);
     }
-  else if (!g_module_symbol (module->library, "__xpp_construct",
+  else if (!g_module_symbol (module->library, "xfce_panel_module_construct",
                              (gpointer) &module->construct_func))
     {
       /* print critical warning */



More information about the Xfce4-commits mailing list