[gnome-calendar] 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] edit-dialog: fix g_list_sort() usage
- Date: Mon, 24 Apr 2017 13:22:49 +0000 (UTC)
commit 7d771830f1abfec4063362420bf2a76798def828
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 0b3ac22..632bf2d 100644
--- a/src/gcal-edit-dialog.c
+++ b/src/gcal-edit-dialog.c
@@ -171,7 +171,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]