From 115cf4ffd6a27b2982670374af12e35083a4bead Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Sat, 8 Jul 2023 18:20:05 -0700 Subject: [PATCH] sysprof: emit property notifications for widget templates --- src/sysprof/sysprof-window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sysprof/sysprof-window.c b/src/sysprof/sysprof-window.c index 39a776a7..5bfee181 100644 --- a/src/sysprof/sysprof-window.c +++ b/src/sysprof/sysprof-window.c @@ -108,8 +108,10 @@ sysprof_window_set_document (SysprofWindow *self, g_assert (self->session == NULL); g_set_object (&self->document, document); + g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_DOCUMENT]); self->session = sysprof_session_new (document); + g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_SESSION]); } static void