diff --git a/gobject/gobject-autocleanups.h b/gobject/gobject-autocleanups.h index 6f253388f..980203f17 100644 --- a/gobject/gobject-autocleanups.h +++ b/gobject/gobject-autocleanups.h @@ -23,4 +23,4 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GObject, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GInitiallyUnowned, g_object_unref) -G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GValue, g_value_clear) +G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GValue, g_value_unset)