diff options
author | Ernestas Kulik <ernestask@src.gnome.org> | 2016-05-03 19:03:24 +0300 |
---|---|---|
committer | Ernestas Kulik <ernestask@src.gnome.org> | 2016-05-04 18:02:57 +0300 |
commit | ebdc9575a5e673b5117f354208e7a07c2d134863 (patch) | |
tree | 92295f905ca3c5a647fc53a0afcf136e788c8ff6 | |
parent | cd0e45fd819d6bbdf248e23918a2d167c3315db1 (diff) | |
download | nautilus-ebdc9575a5e673b5117f354208e7a07c2d134863.tar.gz |
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
-rw-r--r-- | 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 b53af9153..e196dce8b 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); } |