From bd758ee4fc423b9ca152a01f897609daa656c938 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Sat, 27 Aug 2011 17:15:31 +0000 Subject: Profile support! Please test and report bugs, as the config system is totally rewritten and may not be perfect. No more GConf (trying to implement profiles with this was UGLY), settings now (for most) live in JSON at $HOME/.config/transmission-remote-gtk/config.json. Hopefully windows support will be easier without GConf. --- src/torrent.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/torrent.h') diff --git a/src/torrent.h b/src/torrent.h index c5e2e10..85d9632 100644 --- a/src/torrent.h +++ b/src/torrent.h @@ -24,15 +24,15 @@ #define TORRENT_FLAG_ERROR (1 << 0) /* 0x01 */ #define TORRENT_FLAG_COMPLETE (1 << 1) /* 0x02 */ -#define TORRENT_FLAG_INCOMPLETE (1 << 2) /* 0x02 */ -#define TORRENT_FLAG_SEEDING (1 << 3) /* 0x04 */ -#define TORRENT_FLAG_CHECKING (1 << 4) /* 0x08 */ -#define TORRENT_FLAG_WAITING_CHECK (1 << 5) /* 0x16 */ -#define TORRENT_FLAG_DOWNLOADING (1 << 6) /* 0x32 */ -#define TORRENT_FLAG_PAUSED (1 << 7) /* 0x64 */ -#define TORRENT_FLAG_ACTIVE (1 << 8) /* 0x128 */ -#define FILTER_FLAG_TRACKER (1 << 9) /* 0x256 */ -#define FILTER_FLAG_DIR (1 << 10) /* 0x512 */ +#define TORRENT_FLAG_INCOMPLETE (1 << 2) /* 0x04 */ +#define TORRENT_FLAG_SEEDING (1 << 3) /* 0x08 */ +#define TORRENT_FLAG_CHECKING (1 << 4) /* 0x16 */ +#define TORRENT_FLAG_WAITING_CHECK (1 << 5) /* 0x32 */ +#define TORRENT_FLAG_DOWNLOADING (1 << 6) /* 0x64 */ +#define TORRENT_FLAG_PAUSED (1 << 7) /* 0x128 */ +#define TORRENT_FLAG_ACTIVE (1 << 8) /* 0x256 */ +#define FILTER_FLAG_TRACKER (1 << 9) /* 0x512 */ +#define FILTER_FLAG_DIR (1 << 10) /* 0x1024 */ gint64 torrent_get_size(JsonObject * t); const gchar *torrent_get_name(JsonObject * t); -- cgit v1.2.3