summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2015-10-02 10:00:54 -0400
committerDan Winship <danw@gnome.org>2015-10-02 10:07:53 -0400
commit4c870904cd1ae7954ea1412d9145ca75b927dc18 (patch)
tree2663688ccebbbb1dbb44a05377f7553304593089
parent8ed9e8c79ffed28b2e6ee533d3d184c0a748ed48 (diff)
downloadglib-4c870904cd1ae7954ea1412d9145ca75b927dc18.tar.gz
Revert "gvalue: Use g_value_clear as clear function"
This reverts commit 3bb2e8dfc9eae7c6abd8fbec5fa751ffcb495121.
-rw-r--r--gobject/gobject-autocleanups.h2
1 files changed, 1 insertions, 1 deletions
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)