From fa23b38994a2feaf90c771f10f9f56d219ddab8b Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 27 Sep 2007 07:14:01 +0000 Subject: Set the sort function before begin to sort otherwise we get warnings. 2007-09-27 Xavier Claessens * libempathy-gtk/empathy-profile-chooser.c: Set the sort function before begin to sort otherwise we get warnings. svn path=/trunk/; revision=322 --- libempathy-gtk/empathy-profile-chooser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libempathy-gtk') 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); -- cgit v1.2.3