[gnome-builder/wip/chergert/headerbar] genesis: ref actions to transfer ownership



commit 31ee2f53d106955928dcdeaa0cd5f55b2a3b6b33
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jun 20 15:13:32 2016 -0700

    genesis: ref actions to transfer ownership

 libide/genesis/ide-genesis-perspective.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/genesis/ide-genesis-perspective.c b/libide/genesis/ide-genesis-perspective.c
index c18636f..b337d94 100644
--- a/libide/genesis/ide-genesis-perspective.c
+++ b/libide/genesis/ide-genesis-perspective.c
@@ -387,7 +387,7 @@ ide_genesis_perspective_get_actions (IdePerspective *perspective)
 
   g_assert (G_IS_ACTION_GROUP (self->actions));
 
-  return self->actions;
+  return g_object_ref (self->actions);
 }
 
 static void


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