gtk2/0001-pixbuf-engine-Fix-the-...

26 lines
825 B
Diff

From 46b0c2938293b0495f65a46fdc632b788532639b Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalevlember@gmail.com>
Date: Fri, 23 May 2014 11:19:53 +0200
Subject: [PATCH] pixbuf-engine: Fix the build with -Werror=format-security
---
modules/engines/pixbuf/pixbuf-rc-style.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
1.9.3