[sysprof/wip/gtk4-port: 19/132] visualizergroup: remove dazzle usage




commit 91264ade78669d2439809ac6877c23a86a0b3f2e
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 28 12:47:58 2021 -0700

    visualizergroup: remove dazzle usage

 src/libsysprof-ui/sysprof-visualizer-group.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/libsysprof-ui/sysprof-visualizer-group.c b/src/libsysprof-ui/sysprof-visualizer-group.c
index 56f7f630..fb10da9a 100644
--- a/src/libsysprof-ui/sysprof-visualizer-group.c
+++ b/src/libsysprof-ui/sysprof-visualizer-group.c
@@ -22,7 +22,6 @@
 
 #include "config.h"
 
-#include <dazzle.h>
 #include <glib/gi18n.h>
 
 #include "sysprof-visualizer.h"
@@ -186,7 +185,7 @@ sysprof_visualizer_group_finalize (GObject *object)
   g_clear_object (&priv->rows_menu);
   g_clear_object (&priv->actions);
 
-  dzl_clear_weak_pointer (&priv->header);
+  g_clear_weak_pointer (&priv->header);
 
   G_OBJECT_CLASS (sysprof_visualizer_group_parent_class)->finalize (object);
 }
@@ -343,7 +342,7 @@ _sysprof_visualizer_group_set_header (SysprofVisualizerGroup       *self,
   g_return_if_fail (SYSPROF_IS_VISUALIZER_GROUP (self));
   g_return_if_fail (!header || SYSPROF_IS_VISUALIZER_GROUP_HEADER (header));
 
-  if (dzl_set_weak_pointer (&priv->header, header))
+  if (g_set_weak_pointer (&priv->header, header))
     {
       if (header != NULL)
         {


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