[gnome-calendar/gnome-3-24] edit-dialog: fix g_list_sort() usage
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/gnome-3-24] edit-dialog: fix g_list_sort() usage
- Date: Mon, 24 Apr 2017 13:22:39 +0000 (UTC)
commit 337c1982f01af1b3683acfc087cdaf7a81d60235
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Apr 24 10:02:59 2017 -0300
edit-dialog: fix g_list_sort() usage
src/gcal-edit-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c
index 289b2e2..b92df70 100644
--- a/src/gcal-edit-dialog.c
+++ b/src/gcal-edit-dialog.c
@@ -160,7 +160,7 @@ fill_sources_menu (GcalEditDialog *dialog)
list = gcal_manager_get_sources (dialog->manager);
dialog->sources_menu = g_menu_new ();
- g_list_sort (list, sources_menu_sort_func);
+ list = g_list_sort (list, sources_menu_sort_func);
for (aux = list; aux != NULL; aux = aux->next)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]