libsysprof-gtk: add missing autoptr cleanup

This commit is contained in:
Christian Hergert
2023-06-29 14:14:20 -07:00
parent 5220c6bc21
commit 2147254127
3 changed files with 6 additions and 0 deletions

View File

@ -68,4 +68,6 @@ SYSPROF_AVAILABLE_IN_ALL
const float *sysprof_normalized_series_get_values (SysprofNormalizedSeries *self,
guint *n_values);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofNormalizedSeries, g_object_unref)
G_END_DECLS

View File

@ -52,4 +52,6 @@ SYSPROF_AVAILABLE_IN_ALL
void sysprof_time_series_set_duration_expression (SysprofTimeSeries *self,
GtkExpression *duration_expression);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofTimeSeries, g_object_unref)
G_END_DECLS

View File

@ -52,4 +52,6 @@ SYSPROF_AVAILABLE_IN_ALL
void sysprof_xy_series_set_y_expression (SysprofXYSeries *self,
GtkExpression *y_expression);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofXYSeries, g_object_unref)
G_END_DECLS