[bijiben] libbiji: clean-up old commented code



commit 243cc0a3cf02bfdd4dc80efea93d39543a6af204
Author: Pierre-Yves Luyten <py luyten fr>
Date:   Thu Jul 11 00:40:46 2013 +0200

    libbiji: clean-up old commented code

 src/libbiji/biji-note-book.c |    4 ----
 src/libbiji/biji-note-obj.c  |    1 -
 2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/libbiji/biji-note-book.c b/src/libbiji/biji-note-book.c
index 18044c9..c7bbf5b 100644
--- a/src/libbiji/biji-note-book.c
+++ b/src/libbiji/biji-note-book.c
@@ -452,10 +452,6 @@ biji_note_book_remove_item (BijiNoteBook *book, BijiItem *item)
     biji_note_book_notify_changed (book, BIJI_BOOK_ITEM_TRASHED, to_delete);
     biji_item_trash (item);
     g_hash_table_remove (book->priv->items, path);
-    /* Ref note first, hash_table won't finalize it & we can delete it*/
-    //g_object_ref (to_delete);
-    //g_hash_table_remove (book->priv->items, path);
-    //biji_item_trash (item);
 
     retval = TRUE;
   }
diff --git a/src/libbiji/biji-note-obj.c b/src/libbiji/biji-note-obj.c
index a08aab3..3055adb 100644
--- a/src/libbiji/biji-note-obj.c
+++ b/src/libbiji/biji-note-obj.c
@@ -255,7 +255,6 @@ biji_note_obj_trash (BijiItem *item)
   g_file_delete (icon, NULL, NULL);
 
   g_signal_emit (G_OBJECT (note_to_kill), biji_obj_signals[NOTE_DELETED], 0);
-  //g_clear_object (&note_to_kill);
 
   if (icon_path != NULL)
     g_free (icon_path);


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