From 54bc2e74032a1e2bb1b16f51085a469a94096834 Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Wed, 21 Nov 2018 09:59:48 +0100 Subject: -Werror=format-security: g_warning(_("...")) --- src/ui/widget/page-sizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/widget/page-sizer.cpp b/src/ui/widget/page-sizer.cpp index 12f3e36d3..01a38af73 100644 --- a/src/ui/widget/page-sizer.cpp +++ b/src/ui/widget/page-sizer.cpp @@ -113,7 +113,7 @@ PageSizer::PageSizer(Registry & _wr) char *path = Inkscape::IO::Resource::profile_path("pages.csv"); if (!g_file_test(path, G_FILE_TEST_EXISTS)) { if (!g_file_set_contents(path, pages_skeleton, sizeof(pages_skeleton) , nullptr)) { - g_warning(_("Failed to create the page file.")); + g_warning("%s", _("Failed to create the page file.")); } } -- cgit v1.2.3