[gnome-builder] greeter: destroy genesis addins when destroying
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] greeter: destroy genesis addins when destroying
- Date: Mon, 11 Jun 2018 02:03:11 +0000 (UTC)
commit 4c585ee3bcee1341dab2d3833cb5b7ef885ec0dd
Author: Christian Hergert <chergert redhat com>
Date: Sun Jun 10 19:02:29 2018 -0700
greeter: destroy genesis addins when destroying
We don't want to leak these addins, so make sure we remove them when we
start destroying the greeter.
src/libide/greeter/ide-greeter-perspective.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/libide/greeter/ide-greeter-perspective.c b/src/libide/greeter/ide-greeter-perspective.c
index a18ff4bbd..5abe7a70d 100644
--- a/src/libide/greeter/ide-greeter-perspective.c
+++ b/src/libide/greeter/ide-greeter-perspective.c
@@ -1239,6 +1239,8 @@ ide_greeter_perspective_destroy (GtkWidget *widget)
{
IdeGreeterPerspective *self = (IdeGreeterPerspective *)widget;
+ g_clear_object (&self->genesis_set);
+
if (self->titlebar != NULL)
gtk_widget_destroy (GTK_WIDGET (self->titlebar));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]