[gnome-builder/editor-layout] make sure we drop reference to document when closing the window
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/editor-layout] make sure we drop reference to document when closing the window
- Date: Sat, 29 Nov 2014 21:21:26 +0000 (UTC)
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]