summaryrefslogtreecommitdiff
path: root/gtk/gtkimmodule.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-09-17 19:56:19 +0000
committerChristian Persch <chpe@src.gnome.org>2008-09-17 19:56:19 +0000
commitdf619a1370273305726416fc5eb04b46c267915c (patch)
tree056c98d0d3197cdc4e1e69481307dfc17a42ac9c /gtk/gtkimmodule.c
parent7b533d04921e62361ce3455f1276cfee6fe73e84 (diff)
downloadgdk-pixbuf-df619a1370273305726416fc5eb04b46c267915c.tar.gz
Bug 552668 – format not a string literal and no format arguments in
gtkimmodule svn path=/trunk/; revision=21416
Diffstat (limited to 'gtk/gtkimmodule.c')
-rw-r--r--gtk/gtkimmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index a8c9afb36..8a2fdeed5 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -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;