[network-manager-applet] fix string format



commit 252c952e212cff8036fc83dada2617fe48b5aefb
Author: Olav Vitters <olav vitters nl>
Date:   Sat Mar 24 14:11:01 2012 +0100

    fix string format

 src/utils/utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/utils/utils.c b/src/utils/utils.c
index 4d52a69..7ad0a3b 100644
--- a/src/utils/utils.c
+++ b/src/utils/utils.c
@@ -374,7 +374,7 @@ utils_show_error_dialog (const char *title,
 	                                     text1);
 
 	if (text2)
-		gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (err_dialog), text2);
+		gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (err_dialog), "%s", text2);
 	if (title)
 		gtk_window_set_title (GTK_WINDOW (err_dialog), title);
 



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