gtk+ r21416 - in trunk: . gtk



Author: chpe
Date: Wed Sep 17 19:56:19 2008
New Revision: 21416
URL: http://svn.gnome.org/viewvc/gtk+?rev=21416&view=rev

Log:
	Bug 552668 â format not a string literal and no format arguments in
	gtkimmodule

Modified:
   trunk/ChangeLog
   trunk/gtk/gtkimmodule.c

Modified: trunk/gtk/gtkimmodule.c
==============================================================================
--- trunk/gtk/gtkimmodule.c	(original)
+++ trunk/gtk/gtkimmodule.c	Wed Sep 17 19:56:19 2008
@@ -101,7 +101,7 @@
       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 @@
 	  !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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]