comparison pidgin-twitter.h @ 163:84cb6e8ad755

raise the default icon update threshold to 50 times or 7days.
author Yoshiki Yazawa <yaz@honeyplnaet.jp>
date Sat, 26 Jul 2008 22:51:49 +0900
parents 1237fc885a92
children 5043d4d9766d
comparison
equal deleted inserted replaced
162:1237fc885a92 163:84cb6e8ad755
162 #define WASSR_POST_LEN (255 * 4) 162 #define WASSR_POST_LEN (255 * 4)
163 #define IDENTICA_POST_LEN (140) 163 #define IDENTICA_POST_LEN (140)
164 164
165 /* misc macros */ 165 /* misc macros */
166 #define DEFAULT_ICON_SIZE (48) 166 #define DEFAULT_ICON_SIZE (48)
167 #define DEFAULT_ICON_MAX_COUNT (5) 167 #define DEFAULT_ICON_MAX_COUNT (50)
168 #define DEFAULT_ICON_MAX_DAYS (1) 168 #define DEFAULT_ICON_MAX_DAYS (7)
169 #define DAYS_TO_SECONDS(d) ((d) * 86400) 169 #define DAYS_TO_SECONDS(d) ((d) * 86400)
170 170
171 /* debug macros */ 171 /* debug macros */
172 #define twitter_debug(fmt, ...) purple_debug(PURPLE_DEBUG_INFO, PLUGIN_NAME, "%s():%4d: " fmt, __FUNCTION__, (int)__LINE__, ## __VA_ARGS__); 172 #define twitter_debug(fmt, ...) purple_debug(PURPLE_DEBUG_INFO, PLUGIN_NAME, "%s():%4d: " fmt, __FUNCTION__, (int)__LINE__, ## __VA_ARGS__);
173 #define twitter_error(fmt, ...) purple_debug(PURPLE_DEBUG_ERROR, PLUGIN_NAME, "%s():%4d: " fmt, __FUNCTION__, (int)__LINE__, ## __VA_ARGS__); 173 #define twitter_error(fmt, ...) purple_debug(PURPLE_DEBUG_ERROR, PLUGIN_NAME, "%s():%4d: " fmt, __FUNCTION__, (int)__LINE__, ## __VA_ARGS__);