aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-07-29 05:21:53 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-07-29 05:21:53 +0800
commit8070a63795ef42c46ab3d07ba87addd9d81a4e5a (patch)
treebde23dd3ce1d418d3be771f7ec21e011164bd0fb /libempathy-gtk
parent662ceba82a0c6585da90db6b49ab420f1fe6d872 (diff)
downloadgsoc2013-empathy-8070a63795ef42c46ab3d07ba87addd9d81a4e5a.tar
gsoc2013-empathy-8070a63795ef42c46ab3d07ba87addd9d81a4e5a.tar.gz
gsoc2013-empathy-8070a63795ef42c46ab3d07ba87addd9d81a4e5a.tar.bz2
gsoc2013-empathy-8070a63795ef42c46ab3d07ba87addd9d81a4e5a.tar.lz
gsoc2013-empathy-8070a63795ef42c46ab3d07ba87addd9d81a4e5a.tar.xz
gsoc2013-empathy-8070a63795ef42c46ab3d07ba87addd9d81a4e5a.tar.zst
gsoc2013-empathy-8070a63795ef42c46ab3d07ba87addd9d81a4e5a.zip
Better like that
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@211 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-profile-chooser.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-profile-chooser.c b/libempathy-gtk/empathy-profile-chooser.c
index f1d508ffc..212869da4 100644
--- a/libempathy-gtk/empathy-profile-chooser.c
+++ b/libempathy-gtk/empathy-profile-chooser.c
@@ -59,11 +59,12 @@ profile_chooser_sort_profile_value (McProfile *profile)
const gchar *profile_name;
const gchar *names[] = {"jabber",
"salut",
- "gtalk"};
+ "gtalk",
+ NULL};
profile_name = mc_profile_get_unique_name (profile);
- for (i = 0 ; i < G_N_ELEMENTS (names); i++) {
+ for (i = 0 ; names[i]; i++) {
if (strcmp (profile_name, names[i]) == 0) {
return i;
}