From ab8b4d3b38e0baa79268bab514a7836b7db474c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Louis-Francis=20Ratt=C3=A9-Boulianne?= Date: Mon, 31 Aug 2009 14:59:56 -0400 Subject: [PATCH] Changed dialog constructor calls to use a string literal with format arguments --- src/empathy-accounts-dialog.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index f7d6fa26..4d4c2bca 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -428,8 +428,8 @@ accounts_dialog_setup_ui_to_add_account (EmpathyAccountsDialog *dialog) static void accounts_dialog_show_question_dialog (EmpathyAccountsDialog *dialog, - gchar *primary_text, - gchar *secondary_text, + const gchar *primary_text, + const gchar *secondary_text, GCallback response_callback, gpointer user_data, const gchar *first_button_text, @@ -444,10 +444,10 @@ accounts_dialog_show_question_dialog (EmpathyAccountsDialog *dialog, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, - primary_text); + "%s", primary_text); gtk_message_dialog_format_secondary_text ( - GTK_MESSAGE_DIALOG (message_dialog), secondary_text); + GTK_MESSAGE_DIALOG (message_dialog), "%s", secondary_text); va_start (button_args, first_button_text); for (button_text = first_button_text; -- 2.39.2