From 09dd5c266e525364d394a62027bb7536a7b48856 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 1 Oct 2021 13:57:57 -0700 Subject: [PATCH] notebook: fix notebook parameters --- src/libsysprof-ui/sysprof-notebook.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsysprof-ui/sysprof-notebook.c b/src/libsysprof-ui/sysprof-notebook.c index 0a096110..4e644b48 100644 --- a/src/libsysprof-ui/sysprof-notebook.c +++ b/src/libsysprof-ui/sysprof-notebook.c @@ -113,13 +113,13 @@ sysprof_notebook_page_added (SysprofNotebook *self, g_signal_connect_object (child, "notify::can-replay", G_CALLBACK (sysprof_notebook_notify_can_replay_cb), - notebook, + self, G_CONNECT_SWAPPED); g_signal_connect_object (child, "notify::can-save", G_CALLBACK (sysprof_notebook_notify_can_save_cb), - notebook, + self, G_CONNECT_SWAPPED); g_object_notify_by_pspec (G_OBJECT (notebook), properties [PROP_CAN_REPLAY]);