Use G_MODULE_BIND_LAZY when dlopening modules. (#319557, Laszlo Peter)

2005-10-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystem.c (gtk_file_system_module_load):
	* gtk/gtkthemes.c (gtk_theme_engine_load):
	* gtk/gtkimmodule.c (gtk_im_module_load): Use G_MODULE_BIND_LAZY
	when dlopening modules.  (#319557, Laszlo Peter)
This commit is contained in:
Matthias Clasen 2005-10-27 03:16:00 +00:00 committed by Matthias Clasen
parent 87129bab87
commit e80f12b676
5 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2005-10-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystem.c (gtk_file_system_module_load):
* gtk/gtkthemes.c (gtk_theme_engine_load):
* gtk/gtkimmodule.c (gtk_im_module_load): Use G_MODULE_BIND_LAZY
when dlopening modules. (#319557, Laszlo Peter)
2005-10-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbtree.c (gtk_text_btree_resolve_bidi): Only use text

View File

@ -1,3 +1,10 @@
2005-10-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystem.c (gtk_file_system_module_load):
* gtk/gtkthemes.c (gtk_theme_engine_load):
* gtk/gtkimmodule.c (gtk_im_module_load): Use G_MODULE_BIND_LAZY
when dlopening modules. (#319557, Laszlo Peter)
2005-10-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbtree.c (gtk_text_btree_resolve_bidi): Only use text

View File

@ -1075,7 +1075,7 @@ gtk_file_system_module_load (GTypeModule *module)
{
GtkFileSystemModule *fs_module = GTK_FILE_SYSTEM_MODULE (module);
fs_module->library = g_module_open (fs_module->path, 0);
fs_module->library = g_module_open (fs_module->path, G_MODULE_BIND_LAZY);
if (!fs_module->library)
{
g_warning (g_module_error());

View File

@ -95,7 +95,7 @@ gtk_im_module_load (GTypeModule *module)
{
GtkIMModule *im_module = GTK_IM_MODULE (module);
im_module->library = g_module_open (im_module->path, 0);
im_module->library = g_module_open (im_module->path, G_MODULE_BIND_LAZY);
if (!im_module->library)
{
g_warning (g_module_error());

View File

@ -77,7 +77,7 @@ gtk_theme_engine_load (GTypeModule *module)
GTK_NOTE (MISC, g_message ("Loading Theme %s\n", engine_path));
engine->library = g_module_open (engine_path, 0);
engine->library = g_module_open (engine_path, G_MODULE_BIND_LAZY);
g_free(engine_path);
if (!engine->library)
{