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



commit 21e1c88a19debb26fccb3d092c40ccb776bc8cd9
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]