[gnome-builder/wip/chergert/headerbar: 33/34] workbench: notify that the context has been set



commit 6bce3e3eaf60127179dc45cdcf939aa0459d63f3
Author: Christian Hergert <chergert redhat com>
Date:   Tue Jun 21 18:08:33 2016 -0700

    workbench: notify that the context has been set
    
    Not sure how we missed this previously, but obviously an oversight.

 libide/workbench/ide-workbench.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libide/workbench/ide-workbench.c b/libide/workbench/ide-workbench.c
index 551ca2f..0062efe 100644
--- a/libide/workbench/ide-workbench.c
+++ b/libide/workbench/ide-workbench.c
@@ -573,6 +573,8 @@ ide_workbench_set_context (IdeWorkbench *self,
 
   peas_extension_set_foreach (self->addins, ide_workbench_addin_added, self);
 
+  g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_CONTEXT]);
+
   /*
    * Creating all the addins above is a bit intenstive, so give ourselves
    * just a bit of time to stablize allocations and sizing before


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