[bijiben] controller: Fixed missing cast
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] controller: Fixed missing cast
- Date: Wed, 22 Nov 2017 01:12:44 +0000 (UTC)
commit eacbf1bcab8db1136779f336c7469b9968652491
Author: Isaque Galdino <igaldino gmail com>
Date: Tue Nov 21 22:54:57 2017 -0200
controller: Fixed missing cast
In commit 63f883710b91fbe8db3fd51fd48370f1e06cb2fe, it was added a
regression. Build was failing due to a missing cast in
most_recent_item_first method of BjbController object.
This patch adds the missing cast, so the code can be build again.
https://bugzilla.gnome.org/show_bug.cgi?id=789696
src/bjb-controller.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/bjb-controller.c b/src/bjb-controller.c
index 84bd245..417bab0 100644
--- a/src/bjb-controller.c
+++ b/src/bjb-controller.c
@@ -347,7 +347,7 @@ most_recent_item_first (gconstpointer a, gconstpointer b)
/* Always sort notebooks before notes */
if (BIJI_IS_NOTEBOOK ((gpointer) a))
{
- if (BIJI_IS_NOTE_OBJ (b))
+ if (BIJI_IS_NOTE_OBJ ((gpointer) b))
result = -1;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]