[file-roller] gtk-utils: fix missing string format argument
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] gtk-utils: fix missing string format argument
- Date: Tue, 31 Mar 2015 08:05:00 +0000 (UTC)
commit 4c571adda097ea4a5b24f353d155a2a5ba883d66
Author: Tim Lunn <tim feathertop org>
Date: Tue Mar 31 10:00:27 2015 +1100
gtk-utils: fix missing string format argument
https://bugzilla.gnome.org/show_bug.cgi?id=747065
src/gtk-utils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gtk-utils.c b/src/gtk-utils.c
index cb9d92b..e1e1ab9 100644
--- a/src/gtk-utils.c
+++ b/src/gtk-utils.c
@@ -70,7 +70,7 @@ _gtk_message_dialog_new (GtkWindow *parent,
GTK_BUTTONS_NONE,
"%s", message);
- gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), secondary_message);
+ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", secondary_message);
if (flags & GTK_DIALOG_MODAL)
_gtk_dialog_add_to_window_group (GTK_DIALOG (dialog));
@@ -211,7 +211,7 @@ _gtk_error_dialog_new (GtkWindow *parent,
secondary_message = g_strdup_vprintf (secondary_text_format, args);
va_end (args);
- gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), secondary_message);
+ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s",
secondary_message);
g_free (secondary_message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]