diff pidgin-twitter.h @ 107:eb77d409c235

- do neither save nor cache icon image if pixbuf can not be obtained. - now icon size can be specified in prefs.xml. - tweaked configuration dialog.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 15 Jul 2008 12:32:06 +0900
parents 9147ff70d2e2
children 8b98a26f44ce
line wrap: on
line diff
--- a/pidgin-twitter.h	Mon Jul 14 12:42:11 2008 +0900
+++ b/pidgin-twitter.h	Tue Jul 15 12:32:06 2008 +0900
@@ -52,6 +52,7 @@
 #define OPT_SCREEN_NAME         OPT_PIDGINTWITTER "/screen_name"
 #define OPT_PASSWORD            OPT_PIDGINTWITTER "/password"
 #define OPT_SHOW_ICON           OPT_PIDGINTWITTER "/show_icon"
+#define OPT_ICON_SIZE           OPT_PIDGINTWITTER "/icon_size"
 
 /* formats and templates */
 #define RECIPIENT_FORMAT_TWITTER "@<a href='http://twitter.com/%s'>%s</a>"
@@ -118,5 +119,6 @@
 static void remove_marks_func(gpointer key, gpointer value, gpointer user_data);
 static void cancel_fetch_func(gpointer key, gpointer value, gpointer user_data);
 static gint get_service_type(PurpleConversation *conv);
+static GdkPixbuf *make_scaled_pixbuf(const gchar *url_text, gsize len);
 
 #endif