[glib/wip/gcleanup: 17/21] gcleanup: Export correctly and add proper version numbers



commit 69deb5f33ababa6f0300baf41e4c347b5c5dc532
Author: Stef Walter <stefw gnome org>
Date:   Thu Oct 31 23:02:43 2013 +0100

    gcleanup: Export correctly and add proper version numbers
    
    https://bugzilla.gnome.org/show_bug.cgi?id=627423

 glib/gcleanup.c |   14 ++++++++------
 glib/gcleanup.h |    6 +++---
 2 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/glib/gcleanup.c b/glib/gcleanup.c
index dc4b629..4ba31e0 100644
--- a/glib/gcleanup.c
+++ b/glib/gcleanup.c
@@ -19,6 +19,8 @@
  * Author: Ryan Lortie <desrt desrt ca>
  */
 
+#include "config.h"
+
 #include "gcleanup.h"
 
 #include "glib-init.h"
@@ -73,7 +75,7 @@ struct _GCleanupNode
  *
  * Returns: %TRUE if memory cleanup is enabled
  *
- * Since: 2.38
+ * Since: 2.40
  **/
 gboolean
 g_cleanup_is_enabled (void)
@@ -99,7 +101,7 @@ g_cleanup_is_enabled (void)
  * This function is threadsafe.  Multiple threads can add to the same
  * list at the same time.
  *
- * Since: 2.38
+ * Since: 2.40
  **/
 void
 g_cleanup_list_add (GCleanupList *list,
@@ -141,7 +143,7 @@ g_cleanup_list_add (GCleanupList *list,
  * emit a destructor function to call this when your library or program
  * is being unloaded.
  *
- * Since: 2.38
+ * Since: 2.40
  **/
 void
 g_cleanup_list_clear (GCleanupList *list)
@@ -219,7 +221,7 @@ g_cleanup_list_clear (GCleanupList *list)
  * to add items to the list is by way of G_CLEANUP_ADD() or
  * G_CLEANUP_ADD_FUNC().
  *
- * Since: 2.38
+ * Since: 2.40
  **/
 
 /**
@@ -241,7 +243,7 @@ g_cleanup_list_clear (GCleanupList *list)
  *
  * Adding the same @data more than once is undefined.
  *
- * Since: 2.38
+ * Since: 2.40
  **/
 
 /**
@@ -257,5 +259,5 @@ g_cleanup_list_clear (GCleanupList *list)
  * In order for this to work, G_CLEANUP_DEFINE needs to be used exactly
  * once somewhere in a source file in your module.
  *
- * Since: 2.38
+ * Since: 2.40
  **/
diff --git a/glib/gcleanup.h b/glib/gcleanup.h
index 4b12606..1f72afd 100644
--- a/glib/gcleanup.h
+++ b/glib/gcleanup.h
@@ -45,14 +45,14 @@ typedef enum
 
 typedef void (* GCleanupFunc) (gpointer user_data);
 
-GLIB_AVAILABLE_IN_2_36
+GLIB_AVAILABLE_IN_2_40
 gboolean                g_cleanup_is_enabled                            (void);
-GLIB_AVAILABLE_IN_2_36
+GLIB_AVAILABLE_IN_2_40
 void                    g_cleanup_list_add                              (GCleanupList *list,
                                                                          GCleanupFunc  cleanup_func,
                                                                          gpointer      user_data,
                                                                          const gchar * code_loc);
-GLIB_AVAILABLE_IN_2_36
+GLIB_AVAILABLE_IN_2_40
 void                    g_cleanup_list_clear                            (GCleanupList *list);
 
 


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