networks: fix build with -Werror=format-security

This commit is contained in:
Rico Tzschichholz 2013-01-31 14:56:47 +01:00
parent c3446cccdc
commit b489f0d24c

View file

@ -234,7 +234,7 @@ net_connection_editor_error_dialog (NetConnectionEditor *editor,
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR, GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK, GTK_BUTTONS_OK,
primary_text); "%s", primary_text);
if (secondary_text) { if (secondary_text) {
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),