Remove warnings

2007-12-19  Alexander Larsson  <alexl@redhat.com>

        * giomodule.c:
	Remove warnings


svn path=/trunk/; revision=6157
This commit is contained in:
Alexander Larsson 2007-12-19 13:18:34 +00:00 committed by Alexander Larsson
parent 1fbd06d85b
commit 13f33931fc
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2007-12-19 Alexander Larsson <alexl@redhat.com>
* giomodule.c:
Remove warnings
2007-12-19 Alexander Larsson <alexl@redhat.com>
* gunionvolumemonitor.c:

View File

@ -109,10 +109,10 @@ g_io_module_load_module (GTypeModule *gmodule)
/* Make sure that the loaded library contains the required methods */
if (! g_module_symbol (module->library,
"g_io_module_load",
(gpointer *) &module->load) ||
(gpointer) &module->load) ||
! g_module_symbol (module->library,
"g_io_module_unload",
(gpointer *) &module->unload))
(gpointer) &module->unload))
{
g_printerr ("%s\n", g_module_error ());
g_module_close (module->library);
@ -235,9 +235,7 @@ void
_g_io_modules_ensure_loaded (void)
{
GList *modules;
const char *directory;
static gboolean loaded_dirs = FALSE;
G_LOCK (loaded_dirs);