changeset 86:89f52081f115

replaced int with gint
author Yoshiki Yazawa <yaz@honeyplnaet.jp>
date Sun, 06 Jul 2008 15:30:55 +0900
parents fb9831fae969
children 76e5611910c5
files pidgin-twitter.c pidgin-twitter.h
diffstat 2 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- 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");
--- 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);