#1336: fix some compiler warnings when building with -Wformat-security

This commit is contained in:
Charles Kerr
2008-10-09 20:03:34 +00:00
parent e5dd2c60cb
commit 1415b72017
7 changed files with 16 additions and 20 deletions

View File

@@ -395,8 +395,8 @@ addTorrentErrorDialog( GtkWidget * child,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
_( "Error opening torrent" ) );
gtk_message_dialog_format_secondary_text( GTK_MESSAGE_DIALOG(
w ), secondary );
gtk_message_dialog_format_secondary_text( GTK_MESSAGE_DIALOG( w ),
"%s", secondary );
g_signal_connect_swapped( w, "response",
G_CALLBACK( gtk_widget_destroy ), w );
gtk_widget_show_all( w );