aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-profile-chooser.c
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-09-27 15:14:01 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-09-27 15:14:01 +0800
commit290432d64b1eff6ffc76360f538af3cfbcc4f44a (patch)
tree5cbda4e2297e29fc91710bd17463df7c9d69715d /libempathy-gtk/empathy-profile-chooser.c
parent689970cf0580c6d43c65f655781b9bd25ac7cd1e (diff)
downloadgsoc2013-empathy-290432d64b1eff6ffc76360f538af3cfbcc4f44a.tar
gsoc2013-empathy-290432d64b1eff6ffc76360f538af3cfbcc4f44a.tar.gz
gsoc2013-empathy-290432d64b1eff6ffc76360f538af3cfbcc4f44a.tar.bz2
gsoc2013-empathy-290432d64b1eff6ffc76360f538af3cfbcc4f44a.tar.lz
gsoc2013-empathy-290432d64b1eff6ffc76360f538af3cfbcc4f44a.tar.xz
gsoc2013-empathy-290432d64b1eff6ffc76360f538af3cfbcc4f44a.tar.zst
gsoc2013-empathy-290432d64b1eff6ffc76360f538af3cfbcc4f44a.zip
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. git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@322 4ee84921-47dd-4033-b63a-18d7a039a3e4
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);