# HG changeset patch # User Yoshiki Yazawa # Date 1215325855 -32400 # Node ID 89f52081f1150b4d64dc99086471a5aa7242e77c # Parent fb9831fae969e2d35f31fcd80e1de1724fc1774d replaced int with gint diff -r fb9831fae969 -r 89f52081f115 pidgin-twitter.c --- a/pidgin-twitter.c Sun Jul 06 01:51:07 2008 +0900 +++ b/pidgin-twitter.c Sun Jul 06 15:30:55 2008 +0900 @@ -1093,13 +1093,13 @@ got_icon_data *gotdata = (got_icon_data *)user_data; gchar *user_name = gotdata->user_name; - int service = gotdata->service; + gint service = gotdata->service; GList *win_list; GtkIMHtml *target_imhtml = NULL; GtkTextBuffer *target_buffer = NULL; GtkTextIter inserting_point; - int icon_id; + gint icon_id; icon_data *data = NULL; twitter_debug("called: service = %d\n", service); @@ -1167,7 +1167,7 @@ } static void -insert_requested_icon(const gchar *user_name, int service) +insert_requested_icon(const gchar *user_name, gint service) { icon_data *data = NULL; GList *mark_list = NULL; @@ -1209,9 +1209,9 @@ { got_icon_data *gotdata = (got_icon_data *)user_data; gchar *user_name = gotdata->user_name; - int service = gotdata->service; + gint service = gotdata->service; - int icon_id; + gint icon_id; icon_data *data = NULL; twitter_debug("called: service = %d\n", service); @@ -1315,7 +1315,7 @@ } static void -request_icon(const char *user_name, int service) +request_icon(const char *user_name, gint service) { gchar *url = NULL; @@ -1449,7 +1449,7 @@ } static void -mark_icon_for_user(GtkTextMark *mark, const gchar *user_name, int service) +mark_icon_for_user(GtkTextMark *mark, const gchar *user_name, gint service) { icon_data *data = NULL; @@ -1496,8 +1496,8 @@ GtkIMHtml *imhtml; GtkTextBuffer *text_buffer; GtkTextIter inserting_point; - int icon_id; - int service = get_service_type(conv); + gint icon_id; + gint service = get_service_type(conv); icon_data *data = NULL; twitter_debug("called\n"); diff -r fb9831fae969 -r 89f52081f115 pidgin-twitter.h --- a/pidgin-twitter.h Sun Jul 06 01:51:07 2008 +0900 +++ b/pidgin-twitter.h Sun Jul 06 15:30:55 2008 +0900 @@ -73,8 +73,8 @@ static void escape(gchar **str); static gboolean sending_im_cb(PurpleAccount *account, char *recipient, char **buffer, void *data); static gboolean eval(const GMatchInfo *match_info, GString *result, gpointer user_data); -static void translate(gchar **str, int which, int service); -static void playsound(gchar **str, int which); +static void translate(gchar **str, gint which, gint service); +static void playsound(gchar **str, gint which); static gboolean writing_im_cb(PurpleAccount *account, char *sender, char **buffer, PurpleConversation *conv, int *flags, void *data); static void insert_text_cb(GtkTextBuffer *textbuffer, GtkTextIter *position, gchar *new_text, gint new_text_length, gpointer user_data); static void delete_text_cb(GtkTextBuffer *textbuffer, GtkTextIter *start_pos, GtkTextIter *end_pos, gpointer user_data); @@ -91,10 +91,10 @@ 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, gpointer user_data); -static void insert_requested_icon(const gchar *user_name, int service); +static void insert_requested_icon(const gchar *user_name, gint 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, int service); -static void mark_icon_for_user(GtkTextMark *mark, const gchar *user_name, int service); +static void request_icon(const char *user_name, gint service); +static void mark_icon_for_user(GtkTextMark *mark, const gchar *user_name, gint 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);