[libgsf] Fix some deprecation warnings.
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsf] Fix some deprecation warnings.
- Date: Fri, 20 Jul 2012 19:40:06 +0000 (UTC)
commit d212783af6748b62c5ec86cd642200236c67643a
Author: Jean Brefort <jean brefort normalesup org>
Date: Fri Jul 20 21:38:51 2012 +0200
Fix some deprecation warnings.
gsf/gsf-open-pkg-utils.c | 6 ++++--
gsf/gsf-timestamp.c | 4 ++--
gsf/gsf-zip-utils.c | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/gsf/gsf-open-pkg-utils.c b/gsf/gsf-open-pkg-utils.c
index ed133bb..1c7e98c 100644
--- a/gsf/gsf-open-pkg-utils.c
+++ b/gsf/gsf-open-pkg-utils.c
@@ -432,13 +432,15 @@ gsf_open_pkg_parse_rel_by_id (GsfXMLIn *xin, char const *id,
/* DEPRECATED in 1.14.6 */
/**
- * gsf_open_pkg_get_rel_by_type: (skip) (Deprecated: 1.14.6)
+ * gsf_open_pkg_get_rel_by_type: (skip)
*
+ * Deprecated: 1.14.6
*/
GsfInput *gsf_open_pkg_get_rel_by_type (GsfInput *opkg, char const *type) { return gsf_open_pkg_open_rel_by_type (opkg, type, NULL); }
/**
- * gsf_open_pkg_get_rel_by_id: (skip) (Deprecated: 1.14.6)
+ * gsf_open_pkg_get_rel_by_id: (skip)
*
+ * Deprecated: 1.14.6
*/
GsfInput *gsf_open_pkg_get_rel_by_id (GsfInput *opkg, char const *id) { return gsf_open_pkg_open_rel_by_id (opkg, id, NULL); }
diff --git a/gsf/gsf-timestamp.c b/gsf/gsf-timestamp.c
index 02e338d..da9fe13 100644
--- a/gsf/gsf-timestamp.c
+++ b/gsf/gsf-timestamp.c
@@ -153,7 +153,7 @@ gsf_timestamp_from_string (char const *spec, GsfTimestamp *stamp)
}
/**
- * gsf_timestamp_parse: (skip) (Deprecated)
+ * gsf_timestamp_parse: (skip)
* @spec: The string to parse
* @stamp: #GsfTimestamp
*
@@ -161,7 +161,7 @@ gsf_timestamp_from_string (char const *spec, GsfTimestamp *stamp)
* 'YYYY-MM-DDThh:mm:ss'
* and does no bounds checking.
*
- * Deprecated : Use gsf_timestamp_from_string
+ * Deprecated: Use gsf_timestamp_from_string
*
* Returns: %TRUE on success
**/
diff --git a/gsf/gsf-zip-utils.c b/gsf/gsf-zip-utils.c
index be0dbf5..1334732 100644
--- a/gsf/gsf-zip-utils.c
+++ b/gsf/gsf-zip-utils.c
@@ -96,11 +96,12 @@ gsf_zip_vdir_new (char const *name, gboolean is_directory, GsfZipDirent *dirent)
}
/**
- * gsf_vdir_new: (skip) (Deprecated: 1.14.24)
+ * gsf_vdir_new: (skip)
* @name:
* @is_directory:
* @dirent:
- *
+ *
+ * Deprecated: 1.14.24
* Returns: the newly created #GsfZipVDir.
*/
GsfZipVDir *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]