Use G_MODULE_BIND_LAZY when opening modules.
2005-12-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilesystem.c (gtk_file_system_module_load): * gtk/gtkimmodule.c (gtk_im_module_load): * gtk/gtkthemes.c (gtk_theme_engine_load): * gtk/gtkmodules.c (find_module): Use G_MODULE_BIND_LAZY when opening modules.
This commit is contained in:
committed by
Matthias Clasen
parent
bc190f2a70
commit
0a876523eb
@ -1,3 +1,8 @@
|
||||
2005-12-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk-pixbuf-io.c (_gdk_pixbuf_load_module_unlocked): Use
|
||||
G_MODULE_BIND_LOCAL when opening modules.
|
||||
|
||||
2005-12-14 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* io-jpeg.c (gdk_pixbuf__jpeg_image_load_lines): new utility
|
||||
|
||||
@ -454,7 +454,7 @@ _gdk_pixbuf_load_module_unlocked (GdkPixbufModule *image_module,
|
||||
g_return_val_if_fail (image_module->module == NULL, FALSE);
|
||||
|
||||
path = image_module->module_path;
|
||||
module = g_module_open (path, G_MODULE_BIND_LAZY);
|
||||
module = g_module_open (path, G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL);
|
||||
|
||||
if (!module) {
|
||||
g_set_error (error,
|
||||
|
||||
Reference in New Issue
Block a user