[sysprof/wip/gtk4-port: 106/125] notebook: fix notebook parameters




commit 92b8d48bfa3bfaf382f4dd1ae4a54259a78106ca
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 1 13:57:57 2021 -0700

    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]);


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