Mercurial > pidgin-twitter
diff pidgin-twitter.h @ 84:0c1f63882b8a
preliminary wassr icon support. not yet completed.
author | Yoshiki Yazawa <yaz@honeyplnaet.jp> |
---|---|
date | Sat, 05 Jul 2008 21:10:43 +0900 |
parents | c9600d64781a |
children | fb9831fae969 |
line wrap: on
line diff
--- a/pidgin-twitter.h Sat Jul 05 16:35:28 2008 +0900 +++ b/pidgin-twitter.h Sat Jul 05 21:10:43 2008 +0900 @@ -80,7 +80,7 @@ static void delete_text_cb(GtkTextBuffer *textbuffer, GtkTextIter *start_pos, GtkTextIter *end_pos, gpointer user_data); static void detach_from_window(void); static void detach_from_conv(PurpleConversation *conv, gpointer null); -static void delete_requested_icon_marks(PidginConversation *gtkconv); +static void delete_requested_icon_marks(PidginConversation *gtkconv, GHashTable *table); static void attach_to_window(void); static void attach_to_conv(PurpleConversation *conv, gpointer null); static gboolean is_twitter_account(PurpleAccount *account, const char *name); @@ -90,11 +90,11 @@ static void conv_created_cb(PurpleConversation *conv, gpointer null); static void deleting_conv_cb(PurpleConversation *conv); static gboolean receiving_im_cb(PurpleAccount *account, char **sender, char **buffer, PurpleConversation *conv, PurpleMessageFlags *flags, void *data); -static void insert_icon_at_mark(GtkTextMark *requested_mark, const gchar *user_name); -static void insert_requested_icon(const gchar *user_name); +static void insert_icon_at_mark(GtkTextMark *requested_mark, gpointer user_data); +static void insert_requested_icon(const gchar *user_name, int service); static void got_icon_cb(PurpleUtilFetchUrlData *url_data, gpointer user_data, const gchar *url_text, gsize len, const gchar *error_message); -static void request_icon(const char *user_name); -static void mark_icon_for_user(GtkTextMark *mark, const gchar *user_name); +static void request_icon(const char *user_name, int service); +static void mark_icon_for_user(GtkTextMark *mark, const gchar *user_name, int service); static void displayed_im_cb(PurpleAccount *account, const char *who, char *message, PurpleConversation *conv, PurpleMessageFlags flags); static gboolean load_plugin(PurplePlugin *plugin); static gboolean unload_plugin(PurplePlugin *plugin);