[bijiben] manager: call _add_item with args on the right order
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] manager: call _add_item with args on the right order
- Date: Thu, 20 Feb 2014 22:06:42 +0000 (UTC)
commit 74c48592c7230638c102b3cce0d454d908987261
Author: Pierre-Yves Luyten <py luyten fr>
Date: Thu Feb 20 23:05:26 2014 +0100
manager: call _add_item with args on the right order
Huge regression when trash bin has been coded, new notes are
not added to the view.
src/libbiji/biji-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libbiji/biji-manager.c b/src/libbiji/biji-manager.c
index 8dad519..3262657 100644
--- a/src/libbiji/biji-manager.c
+++ b/src/libbiji/biji-manager.c
@@ -771,7 +771,7 @@ biji_manager_local_note_new (BijiManager *manager, gchar *str)
}
biji_note_obj_save_note (ret);
- biji_manager_add_item (manager, BIJI_ITEM (ret), TRUE, BIJI_LIVING_ITEMS);
+ biji_manager_add_item (manager, BIJI_ITEM (ret), BIJI_LIVING_ITEMS, TRUE);
return ret;
}
@@ -821,7 +821,7 @@ biji_manager_note_new (BijiManager *manager,
retval = BIJI_PROVIDER_GET_CLASS (provider)->create_new_note (provider, str);
// do not save. up to the provider implementation to save it or not
// at creation.
- biji_manager_add_item (manager, BIJI_ITEM (retval), TRUE, BIJI_LIVING_ITEMS);
+ biji_manager_add_item (manager, BIJI_ITEM (retval), BIJI_LIVING_ITEMS, TRUE);
return retval;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]