[glib] Revert "gvalue: Use g_value_clear as clear function"



commit 4c870904cd1ae7954ea1412d9145ca75b927dc18
Author: Dan Winship <danw gnome org>
Date:   Fri Oct 2 10:00:54 2015 -0400

    Revert "gvalue: Use g_value_clear as clear function"
    
    This reverts commit 3bb2e8dfc9eae7c6abd8fbec5fa751ffcb495121.

 gobject/gobject-autocleanups.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gobject-autocleanups.h b/gobject/gobject-autocleanups.h
index 6f25338..980203f 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)


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