mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 14:42:10 +01:00
Remove warnings
2007-12-19 Alexander Larsson <alexl@redhat.com> * giomodule.c: Remove warnings svn path=/trunk/; revision=6157
This commit is contained in:
parent
1fbd06d85b
commit
13f33931fc
@ -1,3 +1,8 @@
|
|||||||
|
2007-12-19 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* giomodule.c:
|
||||||
|
Remove warnings
|
||||||
|
|
||||||
2007-12-19 Alexander Larsson <alexl@redhat.com>
|
2007-12-19 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gunionvolumemonitor.c:
|
* gunionvolumemonitor.c:
|
||||||
|
@ -109,10 +109,10 @@ g_io_module_load_module (GTypeModule *gmodule)
|
|||||||
/* Make sure that the loaded library contains the required methods */
|
/* Make sure that the loaded library contains the required methods */
|
||||||
if (! g_module_symbol (module->library,
|
if (! g_module_symbol (module->library,
|
||||||
"g_io_module_load",
|
"g_io_module_load",
|
||||||
(gpointer *) &module->load) ||
|
(gpointer) &module->load) ||
|
||||||
! g_module_symbol (module->library,
|
! g_module_symbol (module->library,
|
||||||
"g_io_module_unload",
|
"g_io_module_unload",
|
||||||
(gpointer *) &module->unload))
|
(gpointer) &module->unload))
|
||||||
{
|
{
|
||||||
g_printerr ("%s\n", g_module_error ());
|
g_printerr ("%s\n", g_module_error ());
|
||||||
g_module_close (module->library);
|
g_module_close (module->library);
|
||||||
@ -235,10 +235,8 @@ void
|
|||||||
_g_io_modules_ensure_loaded (void)
|
_g_io_modules_ensure_loaded (void)
|
||||||
{
|
{
|
||||||
GList *modules;
|
GList *modules;
|
||||||
const char *directory;
|
|
||||||
static gboolean loaded_dirs = FALSE;
|
static gboolean loaded_dirs = FALSE;
|
||||||
|
|
||||||
|
|
||||||
G_LOCK (loaded_dirs);
|
G_LOCK (loaded_dirs);
|
||||||
|
|
||||||
if (!loaded_dirs)
|
if (!loaded_dirs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user