summaryrefslogtreecommitdiffstats
path: root/source/l/gtk+/gtk+-1.2.10-format.patch
blob: 0fdf513a0e7eb4788a9f80b99ef00bca6327611e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- gtk/gtkthemes.c
+++ gtk/gtkthemes.c
@@ -90,7 +90,7 @@ gtk_theme_engine_get (const gchar *name)
        g_free(engine_path);
        if (!library)
 	 {
-	   g_warning (g_module_error());
+	   g_warning ("%s", g_module_error());
 	   return NULL;
 	 }
        else
@@ -107,7 +107,7 @@ gtk_theme_engine_get (const gchar *name)
 		!g_module_symbol (library, "theme_exit", 
 				  (gpointer *)&result->exit))
 	      {
-		g_warning (g_module_error());
+		g_warning ("%s", g_module_error());
 		g_free (result);
 		return NULL;
 	      }