[bijiben] src: Remove unused functions



commit f0a5155e2e6e4c121177fdf3caf9eb34b948e9d1
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Feb 24 21:20:45 2016 +0000

    src: Remove unused functions
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762648

 src/libbiji/biji-note-obj.c |   37 -------------------------------------
 1 files changed, 0 insertions(+), 37 deletions(-)
---
diff --git a/src/libbiji/biji-note-obj.c b/src/libbiji/biji-note-obj.c
index c25de6c..b1eb36a 100644
--- a/src/libbiji/biji-note-obj.c
+++ b/src/libbiji/biji-note-obj.c
@@ -296,14 +296,6 @@ biji_note_obj_get_path (BijiItem *item)
   return biji_note_id_get_path (note->priv->id);
 }
 
-
-BijiNoteID *
-note_get_id(BijiNoteObj* n)
-{
-  return n->priv->id;
-}
-
-
 static const gchar *
 biji_note_obj_get_title (BijiItem *note)
 {
@@ -396,14 +388,6 @@ biji_note_obj_set_last_metadata_change_date (BijiNoteObj* n, gint64 time)
   return biji_note_id_set_last_metadata_change_date (n->priv->id, time);
 }
 
-gboolean
-biji_note_obj_set_note_create_date (BijiNoteObj* n, gint64 time)
-{
-  g_return_val_if_fail (BIJI_IS_NOTE_OBJ(n), FALSE);
-
-  return biji_note_id_set_create_date (n->priv->id, time);
-}
-
 static void
 biji_note_obj_clear_icons (BijiNoteObj *note)
 {
@@ -559,27 +543,6 @@ biji_note_obj_remove_notebook (BijiItem *item, BijiItem *notebook)
 }
 
 gboolean
-biji_note_obj_has_tag_prefix (BijiNoteObj *note, gchar *label)
-{
-  gboolean retval = FALSE;
-  GList *tags, *l;
-
-  tags = g_hash_table_get_keys (note->priv->labels);
-
-  for (l = tags; l != NULL; l=l->next)
-  {
-    if (g_str_has_prefix (l->data, label))
-    {
-      retval = TRUE;
-      break;
-    }
-  }
-
-  g_list_free (tags);
-  return retval;
-}
-
-gboolean
 note_obj_is_template (BijiNoteObj *n)
 {
   g_return_val_if_fail(BIJI_IS_NOTE_OBJ(n),FALSE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]