[nautilus] mime-actions: use format argument
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] mime-actions: use format argument
- Date: Wed, 4 May 2016 15:07:59 +0000 (UTC)
commit ebdc9575a5e673b5117f354208e7a07c2d134863
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 b53af91..e196dce 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -1134,7 +1134,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]