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




commit 09dd5c266e525364d394a62027bb7536a7b48856
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]