[bijiben] Notebook: do not unref when trashed.



commit b38b543ddfd5cc84c3c7fcb16a4a7965b201b8f3
Author: Pierre-Yves Luyten <py luyten fr>
Date:   Sun Nov 3 17:45:53 2013 +0100

    Notebook: do not unref when trashed.
    
    Manager will unref.

 src/libbiji/biji-notebook.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/libbiji/biji-notebook.c b/src/libbiji/biji-notebook.c
index a59aa59..247bc31 100644
--- a/src/libbiji/biji-notebook.c
+++ b/src/libbiji/biji-notebook.c
@@ -274,7 +274,6 @@ biji_notebook_trash (BijiItem *item)
 
   g_signal_emit (G_OBJECT (item), biji_notebooks_signals[NOTEBOOK_DELETED], 0);
   biji_remove_notebook_from_tracker (biji_item_get_manager (item), self->priv->urn);
-  g_object_unref (self);
 
   return TRUE;
 }


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