build: fix build on debian stable

This commit is contained in:
Christian Hergert
2019-06-24 21:14:34 -07:00
parent e8528609ec
commit 2035c7e086
2 changed files with 9 additions and 5 deletions

View File

@ -22,6 +22,7 @@
#include "config.h"
#include <dazzle.h>
#include <glib/gi18n.h>
#include "sysprof-visualizer.h"
@ -185,7 +186,7 @@ sysprof_visualizer_group_finalize (GObject *object)
g_clear_object (&priv->rows_menu);
g_clear_object (&priv->actions);
g_clear_weak_pointer (&priv->header);
dzl_clear_weak_pointer (&priv->header);
G_OBJECT_CLASS (sysprof_visualizer_group_parent_class)->finalize (object);
}
@ -342,7 +343,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 (g_set_weak_pointer (&priv->header, header))
if (dzl_set_weak_pointer (&priv->header, header))
{
if (header != NULL)
{