Mercurial > pidgin-twitter
comparison pidgin-twitter.h @ 298:fd0948c7078e
fixed a bug that NUM_REGPS had not been incremented.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sun, 19 Apr 2009 13:52:03 +0900 |
parents | e07f28bed8a8 |
children | d68ed289ef69 |
comparison
equal
deleted
inserted
replaced
297:e07f28bed8a8 | 298:fd0948c7078e |
---|---|
217 /* misc macros */ | 217 /* misc macros */ |
218 #define DEFAULT_ICON_SIZE (48) | 218 #define DEFAULT_ICON_SIZE (48) |
219 #define DEFAULT_ICON_MAX_COUNT (50) | 219 #define DEFAULT_ICON_MAX_COUNT (50) |
220 #define DEFAULT_ICON_MAX_DAYS (7) | 220 #define DEFAULT_ICON_MAX_DAYS (7) |
221 #define DAYS_TO_SECONDS(d) ((d) * 86400) | 221 #define DAYS_TO_SECONDS(d) ((d) * 86400) |
222 #define NUM_REGPS (14) | 222 #define NUM_REGPS (15) |
223 #define NUM_SERVICES (4) /* twitter, wassr, identica, jisko. */ | 223 #define NUM_SERVICES (4) /* twitter, wassr, identica, jisko. */ |
224 | 224 |
225 /* debug macros */ | 225 /* debug macros */ |
226 #define twitter_debug(fmt, ...) do { if(purple_prefs_get_bool(OPT_LOG_OUTPUT)) purple_debug(PURPLE_DEBUG_INFO, PLUGIN_NAME, "%s: %s():%4d: " fmt, __FILE__, __FUNCTION__, (int)__LINE__, ## __VA_ARGS__); } while(0); | 226 #define twitter_debug(fmt, ...) do { if(purple_prefs_get_bool(OPT_LOG_OUTPUT)) purple_debug(PURPLE_DEBUG_INFO, PLUGIN_NAME, "%s: %s():%4d: " fmt, __FILE__, __FUNCTION__, (int)__LINE__, ## __VA_ARGS__); } while(0); |
227 #define twitter_error(fmt, ...) do { if(purple_prefs_get_bool(OPT_LOG_OUTPUT)) purple_debug(PURPLE_DEBUG_ERROR, PLUGIN_NAME, "%s: %s():%4d: " fmt, __FILE__, __FUNCTION__, (int)__LINE__, ## __VA_ARGS__); } while(0); | 227 #define twitter_error(fmt, ...) do { if(purple_prefs_get_bool(OPT_LOG_OUTPUT)) purple_debug(PURPLE_DEBUG_ERROR, PLUGIN_NAME, "%s: %s():%4d: " fmt, __FILE__, __FUNCTION__, (int)__LINE__, ## __VA_ARGS__); } while(0); |