[gnome-calendar/calendar-editor] source-dialog: fix sorting function
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/calendar-editor] source-dialog: fix sorting function
- Date: Sun, 19 Apr 2015 18:52:33 +0000 (UTC)
commit 13877ecbdb422b11b3f04155efb28a65ac8bde61
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sun Apr 19 15:52:18 2015 -0300
source-dialog: fix sorting function
src/gcal-source-dialog.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index 99e6576..7348d10 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -354,9 +354,9 @@ calendar_listbox_sort_func (GtkListBoxRow *row1,
// Retrieve parent names
get_source_parent_name_color (priv->manager, source1, &parent_name1, NULL);
- get_source_parent_name_color (priv->manager, source1, &parent_name2, NULL);
+ get_source_parent_name_color (priv->manager, source2, &parent_name2, NULL);
- retval = g_strcmp0 (parent_name1, parent_name2);
+ retval = g_strcmp0 (parent_name1, parent_name2);
// If they have the same parent names, compare by the source display names
if (retval == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]