[bijiben] Manager: remove biji_note_get_new_from_file
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] Manager: remove biji_note_get_new_from_file
- Date: Fri, 11 Apr 2014 19:25:25 +0000 (UTC)
commit e1bd5b6db1a39ac0561961d45acb98bc71d1a71a
Author: Pierre-Yves Luyten <py luyten fr>
Date: Fri Apr 11 21:23:51 2014 +0200
Manager: remove biji_note_get_new_from_file
Spring cleanup. This is an old func.
src/libbiji/biji-manager.c | 16 ----------------
src/libbiji/biji-manager.h | 5 -----
2 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/src/libbiji/biji-manager.c b/src/libbiji/biji-manager.c
index 5bc6c19..02fc07b 100644
--- a/src/libbiji/biji-manager.c
+++ b/src/libbiji/biji-manager.c
@@ -739,22 +739,6 @@ biji_manager_new (GFile *location, GdkRGBA *color, GError **error)
}
-BijiNoteObj *
-biji_note_get_new_from_file (BijiManager *manager, const gchar* path)
-{
- BijiInfoSet set;
- BijiNoteObj *ret;
-
- set.url = (gchar*) path;
- set.mtime = 0;
- set.title = NULL;
- set.content = NULL;
-
- ret = biji_local_note_new_from_info (manager->priv->local_provider, manager, &set);
- biji_lazy_deserialize (ret);
-
- return ret ;
-}
gchar *
biji_manager_get_uuid (void)
diff --git a/src/libbiji/biji-manager.h b/src/libbiji/biji-manager.h
index 834b929..b0562d4 100644
--- a/src/libbiji/biji-manager.h
+++ b/src/libbiji/biji-manager.h
@@ -132,11 +132,6 @@ void biji_manager_load_archives (BijiManager *manage
void biji_manager_empty_bin (BijiManager *manager);
-// deprecated - instead we'll use new import / providers facilities
-BijiNoteObj *biji_note_get_new_from_file (BijiManager *manager,
- const gchar* tomboy_format_note_path);
-
-
BijiNoteObj *biji_manager_note_new (BijiManager *manager,
gchar *str,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]