[vinagre] Fix a string format-nonliteral warning



commit 8266b8d2a9c5b53e6c033272b51dfd847bbb9075
Author: David King <amigadave amigadave com>
Date:   Tue Feb 16 08:18:01 2016 +0000

    Fix a string format-nonliteral warning

 vinagre/vinagre-bookmarks-ui.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/vinagre/vinagre-bookmarks-ui.c b/vinagre/vinagre-bookmarks-ui.c
index fdc5e0a..4e503e6 100644
--- a/vinagre/vinagre-bookmarks-ui.c
+++ b/vinagre/vinagre-bookmarks-ui.c
@@ -327,8 +327,7 @@ vinagre_bookmarks_del (VinagreBookmarks      *book,
                                   title);
 
   gtk_message_dialog_format_secondary_markup (GTK_MESSAGE_DIALOG (dialog),
-                                             msg2,
-                                             name);
+                                             "%s", msg2);
  
   if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK)
     if (!vinagre_bookmarks_remove_entry (book, entry))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]