[gnome-calendar] source-dialog: fix sorting function
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] source-dialog: fix sorting function
- Date: Mon, 25 May 2015 16:59:03 +0000 (UTC)
commit 24189bddd32e6b8d086832b56c76f45c0b1c5d2c
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]