[bijiben] serializer: make save icon a public function



commit 514b01d01106154d6a8f8cde85fb94063d6ed30e
Author: Pierre-Yves Luyten <py luyten fr>
Date:   Fri Sep 13 23:17:27 2013 +0200

    serializer: make save icon a public function

 src/libbiji/serializer/biji-lazy-serializer.c |    2 +-
 src/libbiji/serializer/biji-lazy-serializer.h |   12 ++++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/src/libbiji/serializer/biji-lazy-serializer.c b/src/libbiji/serializer/biji-lazy-serializer.c
index 226563a..fe44621 100644
--- a/src/libbiji/serializer/biji-lazy-serializer.c
+++ b/src/libbiji/serializer/biji-lazy-serializer.c
@@ -271,7 +271,7 @@ biji_lazy_serialize_internal (BijiLazySerializer *self)
 
 /* No matter if icon is saved or not.
  * We just try */
-static void
+void
 biji_note_obj_save_icon (BijiNoteObj *note)
 {
   gchar *filename;
diff --git a/src/libbiji/serializer/biji-lazy-serializer.h b/src/libbiji/serializer/biji-lazy-serializer.h
index 79f3041..4cfa8ec 100644
--- a/src/libbiji/serializer/biji-lazy-serializer.h
+++ b/src/libbiji/serializer/biji-lazy-serializer.h
@@ -52,9 +52,17 @@ struct _BijiLazySerializer
   BijiLazySerializerPrivate *priv;
 };
 
-GType biji_lazy_serializer_get_type (void) G_GNUC_CONST;
 
-gboolean biji_lazy_serialize (BijiNoteObj *note);
+GType            biji_lazy_serializer_get_type           (void) G_GNUC_CONST;
+
+
+gboolean         biji_lazy_serialize                     (BijiNoteObj *note);
+
+
+/* biji_lazy_serialize is for local notes & include icon save
+ * however, icon can still be saved separately */
+
+void             biji_note_obj_save_icon                 (BijiNoteObj *note);
 
 G_END_DECLS
 


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