]> Pileus Git - ~andy/gtk/commitdiff
Use local binding when loading modules. (#351868)
authorMatthias Clasen <mclasen@redhat.com>
Sat, 26 Aug 2006 00:27:11 +0000 (00:27 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 26 Aug 2006 00:27:11 +0000 (00:27 +0000)
2006-08-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmodules.c (find_module): Use local binding when
loading modules.  (#351868)

ChangeLog
gtk/gtkmodules.c

index 15963ecde43633194dc5a94a4d47c254ef141c9e..9c8ca14d9e1578237539d6f667de0c150c3b6721 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkmodules.c (find_module): Use local binding when
+       loading modules.  (#351868)
+
 2006-08-24  Michael Natterer  <mitch@imendio.com>
 
        * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
index 33020f72fb498a5c9101ae4c08d7ad33086ef5a4..6430cf6e66a82908fa7f51360d953ecaac35dae6 100644 (file)
@@ -236,7 +236,7 @@ find_module (const gchar *name)
       module_name = g_module_build_path (NULL, name);
     }
 
-  module = g_module_open (module_name, G_MODULE_BIND_LAZY);
+  module = g_module_open (module_name, G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY);
   g_free(module_name);
 
   return module;