[gnome-builder/wip/chergert/layout] layout: do unref from main



commit 344f6ab0e9bb3ab1d48deaf905b6160a70dffc8f
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jul 17 02:47:34 2017 -0700

    layout: do unref from main

 libide/layout/ide-layout-grid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/layout/ide-layout-grid.c b/libide/layout/ide-layout-grid.c
index 595327c..707e7a6 100644
--- a/libide/layout/ide-layout-grid.c
+++ b/libide/layout/ide-layout-grid.c
@@ -863,7 +863,7 @@ ide_layout_grid_stack_items_changed (IdeLayoutGrid  *self,
                                       removed,
                                       added);
 
-          g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_CURRENT_VIEW]);
+          ide_object_notify_in_main (G_OBJECT (self), properties [PROP_CURRENT_VIEW]);
 
           return;
         }


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