[PATCH] fix applet rc4 build failure on gcc 4.3.3 in ubuntu/jaunty (text format issue in connection list)



Kind of typo fix. probably doesnt need a ChangeLog entry.

=== modified file 'src/connection-editor/nm-connection-list.c'
--- a/src/connection-editor/nm-connection-list.c	2009-04-04 14:33:22 +0000
+++ b/src/connection-editor/nm-connection-list.c	2009-04-07 15:19:19 +0000
@@ -94,17 +94,17 @@ error_dialog (GtkWindow *parent, const c
 	                                 GTK_MESSAGE_ERROR,
 	                                 GTK_BUTTONS_CLOSE,
 	                                 "%s", heading);
 
 	va_start (args, format);
 	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);
 	gtk_window_present (GTK_WINDOW (dialog));
 	gtk_dialog_run (GTK_DIALOG (dialog));
 	gtk_widget_destroy (dialog);
 }
 



 - Alexander



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