[libpeas] Unref the window in the second time plugin



commit aa448d6e1afe6f8f18cb223984bc204b1cb55ecd
Author: Garrett Regier <alias301 gmail com>
Date:   Thu Feb 17 07:17:05 2011 -0800

    Unref the window in the second time plugin

 peas-demo/plugins/secondtime/second-time.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/peas-demo/plugins/secondtime/second-time.c b/peas-demo/plugins/secondtime/second-time.c
index 3f013ec..8a8faaa 100644
--- a/peas-demo/plugins/secondtime/second-time.c
+++ b/peas-demo/plugins/secondtime/second-time.c
@@ -101,6 +101,7 @@ peasdemo_second_time_finalize (GObject *object)
   g_debug (G_STRFUNC);
 
   g_object_unref (plugin->label);
+  g_object_unref (plugin->window);
 
   G_OBJECT_CLASS (peasdemo_second_time_parent_class)->finalize (object);
 }



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