[nautilus/gnome-3-20] mime-actions: use format argument
- From: Michael Biebl <mbiebl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-20] mime-actions: use format argument
- Date: Tue, 10 May 2016 13:24:44 +0000 (UTC)
commit 6a05bf635594359baf45ef4ac3db1f9745b73d5d
Author: Ernestas Kulik <ernestask src gnome org>
Date: Tue May 3 19:03:24 2016 +0300
mime-actions: use format argument
The call to gtk_message_dialog_format_secondary_text() in
show_unhandled_type_error() is missing a format argument, which causes
build failures with -Werror=format-security.
This commit adds the missing argument.
https://bugzilla.gnome.org/show_bug.cgi?id=765918
src/nautilus-mime-actions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
index 21f6246..b5e77a1 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -1143,7 +1143,7 @@ show_unhandled_type_error (ActivateParametersInstall *parameters)
0,
"%s", error_message);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
- text);
+ "%s", text);
g_free (text);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]