aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme-adium.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-22 21:37:26 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-22 21:37:26 +0800
commit6843cf006192fecf2382b1dd87a2fb8531a34b5f (patch)
tree385719873f29bdc6c90f536df9a87efc2700a2be /libempathy-gtk/empathy-theme-adium.c
parenta6eb75f8fddea5331c938c1ce42d08f962275f97 (diff)
parenta28c3a40ece7da5304ca084e1f30d26dbf006b56 (diff)
downloadgsoc2013-empathy-6843cf006192fecf2382b1dd87a2fb8531a34b5f.tar
gsoc2013-empathy-6843cf006192fecf2382b1dd87a2fb8531a34b5f.tar.gz
gsoc2013-empathy-6843cf006192fecf2382b1dd87a2fb8531a34b5f.tar.bz2
gsoc2013-empathy-6843cf006192fecf2382b1dd87a2fb8531a34b5f.tar.lz
gsoc2013-empathy-6843cf006192fecf2382b1dd87a2fb8531a34b5f.tar.xz
gsoc2013-empathy-6843cf006192fecf2382b1dd87a2fb8531a34b5f.tar.zst
gsoc2013-empathy-6843cf006192fecf2382b1dd87a2fb8531a34b5f.zip
Merge branch 'trivia'
Diffstat (limited to 'libempathy-gtk/empathy-theme-adium.c')
-rw-r--r--libempathy-gtk/empathy-theme-adium.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index 0f2288e2a..49a76c24c 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -59,7 +59,7 @@ typedef struct {
} EmpathyThemeAdiumPriv;
struct _EmpathyAdiumData {
- guint ref_count;
+ gint ref_count;
gchar *path;
gchar *basedir;
gchar *default_avatar_filename;
@@ -235,7 +235,7 @@ theme_adium_parse_body (EmpathyThemeAdium *theme,
last = e;
} while (g_match_info_next (match_info, NULL));
- if (e < strlen (text)) {
+ if (e < (gint) strlen (text)) {
/* Append the text after the last link */
g_string_append_len (string, text + e, strlen (text) - e);
}