[Xfce4-commits] <xfce4-panel:devel> Use new contruct function names in the wrapper too.

Nick Schermer noreply at xfce.org
Mon Oct 5 17:48:01 CEST 2009


Updating branch refs/heads/devel
         to ec12ba5fbd3bfd3df017b44e3d76457319de8c99 (commit)
       from 582a62fcb6bee2df6e58113fe1f69cc4df574563 (commit)

commit ec12ba5fbd3bfd3df017b44e3d76457319de8c99
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Oct 3 15:37:31 2009 +0200

    Use new contruct function names in the wrapper too.

 wrapper/wrapper-module.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/wrapper/wrapper-module.c b/wrapper/wrapper-module.c
index 8a4513d..a221c7c 100644
--- a/wrapper/wrapper-module.c
+++ b/wrapper/wrapper-module.c
@@ -136,7 +136,7 @@ wrapper_module_new_provider (WrapperModule  *module,
   g_type_module_use (G_TYPE_MODULE (module));
 
   /* try to link the contruct or init function */
-  if (g_module_symbol (module->library, "__xpp_init",
+  if (g_module_symbol (module->library, "xfce_panel_module_init",
       (gpointer) &init_func) && init_func != NULL)
     {
       /* initialize the plugin */
@@ -150,7 +150,7 @@ wrapper_module_new_provider (WrapperModule  *module,
                              "comment", comment,
                              "arguments", arguments, NULL);
     }
-  else if (g_module_symbol (module->library, "__xpp_construct",
+  else if (g_module_symbol (module->library, "xfce_panel_module_construct",
            (gpointer) &construct_func) && construct_func != NULL)
     {
       /* create a new panel plugin */



More information about the Xfce4-commits mailing list