(gtk) partial fix for #562: No error message when opening broken torrent file

This commit is contained in:
Charles Kerr
2008-07-08 21:08:20 +00:00
parent 688b9f860a
commit ab5fe51e00
4 changed files with 40 additions and 3 deletions

View File

@@ -88,6 +88,10 @@ char* gtr_get_help_url( void );
GtkWidget * tr_button_new_from_stock( const char * stock,
const char * mnemonic );
void addTorrentErrorDialog( GtkWidget * window_or_child,
int err,
const char * filename );
/* create an error dialog, if wind is NULL or mapped then show dialog now,
otherwise show it when wind becomes mapped */
void