[Xfce4-commits] <xfce4-panel:devel> * Bind modules locally. Is a bit safer.

Nick Schermer nick at xfce.org
Tue Aug 11 20:24:18 CEST 2009


Updating branch refs/heads/devel
         to a8e2bd4b9b952aa0f01b5e996f946fd393ac7ce3 (commit)
       from e369d8d73517b3fa1ecce176d7f9a5d9862c4dc8 (commit)

commit a8e2bd4b9b952aa0f01b5e996f946fd393ac7ce3
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Oct 4 21:07:42 2008 +0200

    * Bind modules locally. Is a bit safer.

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

diff --git a/wrapper/main.c b/wrapper/main.c
index 73eb99a..74939fa 100644
--- a/wrapper/main.c
+++ b/wrapper/main.c
@@ -330,7 +330,7 @@ main (gint argc, gchar **argv)
   dbus_g_proxy_add_signal (dbus_gproxy, "PropertyChanged", G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VALUE, G_TYPE_INVALID);
 
   /* load the module and link the function */
-  module = g_module_open (opt_filename, 0);
+  module = g_module_open (opt_filename, G_MODULE_BIND_LOCAL);
   if (G_LIKELY (module))
     {
       /* get the contruct symbol */



More information about the Xfce4-commits mailing list