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




commit fa2d849e1203d13e339adc0a8a8bf2e5e3280fe4
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]