[gnome-builder/editor-layout] make sure we drop reference to document when closing the window



commit cca4f8ba2a17bc37e17ba71faabb3f5bf2a01980
Author: Christian Hergert <christian hergert me>
Date:   Sat Nov 29 04:28:31 2014 -0800

    make sure we drop reference to document when closing the window

 src/app/gb-application.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/app/gb-application.c b/src/app/gb-application.c
index 0d5af85..7e3a77e 100644
--- a/src/app/gb-application.c
+++ b/src/app/gb-application.c
@@ -375,6 +375,7 @@ gb_application_activate (GApplication *application)
                           "document", document,
                           "visible", TRUE,
                           NULL);
+    g_object_unref (document);
     gtk_container_add (GTK_CONTAINER (window), GTK_WIDGET (frame));
     gtk_window_present (window);
   }


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