[gexiv2] Mark several _free() functions as deprecated
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gexiv2] Mark several _free() functions as deprecated
- Date: Sun, 17 Jul 2016 09:54:50 +0000 (UTC)
commit c161964d959e70bd79b8bc71c1dad0371efdec71
Author: Jens Georg <mail jensge org>
Date: Sun Jul 17 11:13:42 2016 +0200
Mark several _free() functions as deprecated
Signed-off-by: Jens Georg <mail jensge org>
gexiv2/gexiv2-metadata.h | 3 +++
gexiv2/gexiv2-preview-image.h | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gexiv2/gexiv2-metadata.h b/gexiv2/gexiv2-metadata.h
index 395bf61..765f918 100644
--- a/gexiv2/gexiv2-metadata.h
+++ b/gexiv2/gexiv2-metadata.h
@@ -136,7 +136,10 @@ GExiv2Metadata* gexiv2_metadata_new (void);
* gexiv2_metadata_free:
*
* Destroys the #GExiv2Metadata object and frees all associated memory.
+ *
+ * Deprecated: 0.10.3: Use g_object_unref() instread.
*/
+G_DEPRECATED_FOR(g_object_unref)
void gexiv2_metadata_free (GExiv2Metadata *self);
/**
diff --git a/gexiv2/gexiv2-preview-image.h b/gexiv2/gexiv2-preview-image.h
index c69674a..e4cb5f9 100644
--- a/gexiv2/gexiv2-preview-image.h
+++ b/gexiv2/gexiv2-preview-image.h
@@ -62,7 +62,10 @@ GType gexiv2_preview_image_get_type (void);
* gexiv2_preview_image_free:
*
* Releases the preview image and all associated memory.
+ *
+ * Deprecated: 0.10.3: Use g_object_unref() instead.
*/
+G_DEPRECATED_FOR(g_object_unref)
void gexiv2_preview_image_free (GExiv2PreviewImage *self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]