preferences code refresh in the gtk+ client

This commit is contained in:
Charles Kerr
2007-09-27 20:57:58 +00:00
parent c81961d908
commit 713ded5ff4
13 changed files with 534 additions and 1404 deletions

View File

@@ -44,11 +44,6 @@ enum tr_torrent_action { TR_TOR_LEAVE, TR_TOR_COPY, TR_TOR_MOVE };
/* used for a callback function with a data parameter */
typedef void (*callbackfunc_t)(void*);
/* try to interpret a string as a textual representation of a boolean */
/* note that this isn't localized */
gboolean
strbool(const char *str);
/* return a human-readable string for the size given in bytes.
the string must be g_free()d */
char *
@@ -106,7 +101,7 @@ const char *
toractionname( enum tr_torrent_action action );
/* retrieve the global download directory */
const char *
char *
getdownloaddir( void );
#ifdef GTK_MAJOR_VERSION