network-manager-applet r1259 - trunk/src/connection-editor



Author: dcbw
Date: Wed Apr  8 15:15:14 2009
New Revision: 1259
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=1259&view=rev

Log:
Don't pass message as format string (Alexander Sack)

Modified:
   trunk/src/connection-editor/nm-connection-list.c

Modified: trunk/src/connection-editor/nm-connection-list.c
==============================================================================
--- trunk/src/connection-editor/nm-connection-list.c	(original)
+++ trunk/src/connection-editor/nm-connection-list.c	Wed Apr  8 15:15:14 2009
@@ -99,7 +99,7 @@
 	message = g_strdup_vprintf (format, args);
 	va_end (args);
 
-	gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), message);
+	gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", message);
 	g_free (message);
 
 	gtk_widget_show_all (dialog);



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