code cleanup: let glib do more of the heavy lifting w.r.t. parsing command-line arguments, drag-and-drop strings

This commit is contained in:
Charles Kerr
2007-10-12 19:53:30 +00:00
parent ff36475fad
commit 2e6ebae16e
4 changed files with 130 additions and 245 deletions

View File

@@ -90,7 +90,7 @@ urldecode(const char *str, int len);
/* return a list of cleaned-up paths, with invalid directories removed */
GList *
checkfilenames(int argc, char **argv);
checkfilenames( int argc, char ** argv );
/* returns the flag for an action string */
enum tr_torrent_action