[gnome-control-center] networks: fix build with -Werror=format-security



commit b489f0d24ca1d1d872cd9f89cf205ed928ce2860
Author: Rico Tzschichholz <ricotz t-online de>
Date:   Thu Jan 31 14:56:47 2013 +0100

    networks: fix build with -Werror=format-security

 .../connection-editor/net-connection-editor.c      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/connection-editor/net-connection-editor.c b/panels/network/connection-editor/net-connection-editor.c
index 106cdae..9d34d11 100644
--- a/panels/network/connection-editor/net-connection-editor.c
+++ b/panels/network/connection-editor/net-connection-editor.c
@@ -234,7 +234,7 @@ net_connection_editor_error_dialog (NetConnectionEditor *editor,
                                          GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
                                          GTK_MESSAGE_ERROR,
                                          GTK_BUTTONS_OK,
-                                         primary_text);
+                                         "%s", primary_text);
 
         if (secondary_text) {
                 gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),



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