aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-profile-chooser.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-09-27 15:14:01 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-09-27 15:14:01 +0800
commitfa23b38994a2feaf90c771f10f9f56d219ddab8b (patch)
tree5cbda4e2297e29fc91710bd17463df7c9d69715d /libempathy-gtk/empathy-profile-chooser.c
parenta695eb11f51b2e69199efbf3c0472bbd36b5a912 (diff)
downloadgsoc2013-empathy-fa23b38994a2feaf90c771f10f9f56d219ddab8b.tar
gsoc2013-empathy-fa23b38994a2feaf90c771f10f9f56d219ddab8b.tar.gz
gsoc2013-empathy-fa23b38994a2feaf90c771f10f9f56d219ddab8b.tar.bz2
gsoc2013-empathy-fa23b38994a2feaf90c771f10f9f56d219ddab8b.tar.lz
gsoc2013-empathy-fa23b38994a2feaf90c771f10f9f56d219ddab8b.tar.xz
gsoc2013-empathy-fa23b38994a2feaf90c771f10f9f56d219ddab8b.tar.zst
gsoc2013-empathy-fa23b38994a2feaf90c771f10f9f56d219ddab8b.zip
Set the sort function before begin to sort otherwise we get warnings.
2007-09-27 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-profile-chooser.c: Set the sort function before begin to sort otherwise we get warnings. svn path=/trunk/; revision=322
Diffstat (limited to 'libempathy-gtk/empathy-profile-chooser.c')
-rw-r--r--libempathy-gtk/empathy-profile-chooser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-profile-chooser.c b/libempathy-gtk/empathy-profile-chooser.c
index 62c3b0f83..ae32aff7f 100644
--- a/libempathy-gtk/empathy-profile-chooser.c
+++ b/libempathy-gtk/empathy-profile-chooser.c
@@ -161,13 +161,13 @@ empathy_profile_chooser_new (void)
}
/* Set the profile sort function */
- gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (store),
- COL_PROFILE,
- GTK_SORT_ASCENDING);
gtk_tree_sortable_set_sort_func (GTK_TREE_SORTABLE (store),
COL_PROFILE,
profile_chooser_sort_func,
NULL, NULL);
+ gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (store),
+ COL_PROFILE,
+ GTK_SORT_ASCENDING);
if (iter_set) {
gtk_combo_box_set_active_iter (GTK_COMBO_BOX (combo_box), &iter);