diff options
author | Louis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk> | 2009-09-01 02:59:56 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-09-01 05:14:03 +0800 |
commit | ab8b4d3b38e0baa79268bab514a7836b7db474c8 (patch) | |
tree | 7d66499d64d9b9c2c233973f3bd2980ecad34e49 | |
parent | 687f31af1f31e84b52202a044353c442a0d0138f (diff) | |
download | gsoc2013-empathy-ab8b4d3b38e0baa79268bab514a7836b7db474c8.tar gsoc2013-empathy-ab8b4d3b38e0baa79268bab514a7836b7db474c8.tar.gz gsoc2013-empathy-ab8b4d3b38e0baa79268bab514a7836b7db474c8.tar.bz2 gsoc2013-empathy-ab8b4d3b38e0baa79268bab514a7836b7db474c8.tar.lz gsoc2013-empathy-ab8b4d3b38e0baa79268bab514a7836b7db474c8.tar.xz gsoc2013-empathy-ab8b4d3b38e0baa79268bab514a7836b7db474c8.tar.zst gsoc2013-empathy-ab8b4d3b38e0baa79268bab514a7836b7db474c8.zip |
Changed dialog constructor calls to use a string literal with format arguments
-rw-r--r-- | src/empathy-accounts-dialog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index f7d6fa263..4d4c2bcaa 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; |