[gtk+/gtk-2-24] pixbuf-engine: Fix the build with -Werror=format-security



commit 46b0c2938293b0495f65a46fdc632b788532639b
Author: Kalev Lember <kalevlember gmail com>
Date:   Fri May 23 11:19:53 2014 +0200

    pixbuf-engine: Fix the build with -Werror=format-security

 modules/engines/pixbuf/pixbuf-rc-style.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/engines/pixbuf/pixbuf-rc-style.c b/modules/engines/pixbuf/pixbuf-rc-style.c
index 4b86e4f..18851e3 100644
--- a/modules/engines/pixbuf/pixbuf-rc-style.c
+++ b/modules/engines/pixbuf/pixbuf-rc-style.c
@@ -669,7 +669,7 @@ clear_theme_pixbuf_and_warn (ThemePixbuf **theme_pb,
                              const char   *message)
 {
   theme_clear_pixbuf (theme_pb);
-  g_scanner_warn (scanner, message);
+  g_scanner_warn (scanner, "%s", message);
 }
 
 static guint


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