diff options
-rw-r--r-- | libempathy-gtk/empathy-chat-text-view.c | 2 | ||||
-rw-r--r-- | libempathy-gtk/empathy-smiley-manager.h | 4 | ||||
-rw-r--r-- | libempathy-gtk/empathy-theme-adium.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-chat-text-view.c b/libempathy-gtk/empathy-chat-text-view.c index aa8676bfd..6dd8b3094 100644 --- a/libempathy-gtk/empathy-chat-text-view.c +++ b/libempathy-gtk/empathy-chat-text-view.c @@ -1263,7 +1263,7 @@ chat_text_view_insert_text_with_emoticons (EmpathyChatTextView *view, EmpathyChatTextViewPriv *priv = GET_PRIV (view); gboolean use_smileys = FALSE; GSList *hits, *l; - gint last = 0; + guint last = 0; empathy_conf_get_bool (empathy_conf_get (), EMPATHY_PREFS_CHAT_SHOW_SMILEYS, diff --git a/libempathy-gtk/empathy-smiley-manager.h b/libempathy-gtk/empathy-smiley-manager.h index f15dbc468..1d6eaac54 100644 --- a/libempathy-gtk/empathy-smiley-manager.h +++ b/libempathy-gtk/empathy-smiley-manager.h @@ -55,8 +55,8 @@ typedef struct { typedef struct { GdkPixbuf *pixbuf; /* Pixbuf of the smiley */ const gchar *path; /* Filename of the smiley image */ - gint start; /* text[start:end] should be replaced by pixbuf */ - gint end; + guint start; /* text[start:end] should be replaced by pixbuf */ + guint end; } EmpathySmileyHit; typedef void (*EmpathySmileyMenuFunc) (EmpathySmileyManager *manager, diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 5aae85c4a..78a218ad6 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -224,7 +224,7 @@ theme_adium_parser_smiley (GString *string, gssize len, gpointer user_data) { - gint last = 0; + guint last = 0; if (use_smileys) { EmpathySmileyManager *smiley_manager; |