Commit df619a13 authored by Christian Persch's avatar Christian Persch
Browse files

Bug 552668 – format not a string literal and no format arguments in

	gtkimmodule

svn path=/trunk/; revision=21416
parent 7b533d04
2008-09-17 Christian Persch <chpe@gnome.org>
Bug 552668 – format not a string literal and no format arguments in
gtkimmodule
* gtk/gtkimmodule.c: (gtk_im_module_load): Use %s with g_warning here.
2008-09-17 Christian Persch <chpe@gnome.org>
Bug 552667 – gtkimage containing gicon leaks memory
......
......@@ -101,7 +101,7 @@ gtk_im_module_load (GTypeModule *module)
im_module->library = g_module_open (im_module->path, G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL);
if (!im_module->library)
{
g_warning (g_module_error());
g_warning ("%s", g_module_error());
return FALSE;
}
......@@ -115,7 +115,7 @@ gtk_im_module_load (GTypeModule *module)
!g_module_symbol (im_module->library, "im_module_create",
(gpointer *)&im_module->create))
{
g_warning (g_module_error());
g_warning ("%s", g_module_error());
g_module_close (im_module->library);
return FALSE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment