aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-14 23:26:50 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-14 23:26:50 +0800
commit569c0b8957f72a0d1681dcf08eafb2aaf63934e9 (patch)
treef2ebcc800dc8fd58ecaa9fc3f7fef938964e3088
parent3496bec16b5ab493136bc7ee30242b4d1ce6453a (diff)
downloadgsoc2013-empathy-569c0b8957f72a0d1681dcf08eafb2aaf63934e9.tar
gsoc2013-empathy-569c0b8957f72a0d1681dcf08eafb2aaf63934e9.tar.gz
gsoc2013-empathy-569c0b8957f72a0d1681dcf08eafb2aaf63934e9.tar.bz2
gsoc2013-empathy-569c0b8957f72a0d1681dcf08eafb2aaf63934e9.tar.lz
gsoc2013-empathy-569c0b8957f72a0d1681dcf08eafb2aaf63934e9.tar.xz
gsoc2013-empathy-569c0b8957f72a0d1681dcf08eafb2aaf63934e9.tar.zst
gsoc2013-empathy-569c0b8957f72a0d1681dcf08eafb2aaf63934e9.zip
Fix bug #525084.
svn path=/trunk/; revision=942
-rw-r--r--libempathy-gtk/empathy-contact-list-store.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c
index 1b3311810..b446fd19e 100644
--- a/libempathy-gtk/empathy-contact-list-store.c
+++ b/libempathy-gtk/empathy-contact-list-store.c
@@ -30,6 +30,7 @@
#include <glib.h>
#include <gtk/gtk.h>
+#include <telepathy-glib/util.h>
#include <libempathy/empathy-debug.h>
#include "empathy-contact-list-store.h"
@@ -1240,7 +1241,7 @@ contact_list_store_get_group_foreach (GtkTreeModel *model,
EMPATHY_CONTACT_LIST_STORE_COL_IS_GROUP, &is_group,
-1);
- if (is_group && strcmp (str, fg->name) == 0) {
+ if (is_group && !tp_strdiff (str, fg->name)) {
fg->found = TRUE;
fg->iter = *iter;
}