[gtk+] [gdk/gdkcolors] Add missing "Deprecated: 2.x" to the api doc comments.
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] [gdk/gdkcolors] Add missing "Deprecated: 2.x" to the api doc comments.
- Date: Fri, 6 Nov 2009 02:16:53 +0000 (UTC)
commit 64d054264e9016496bb209ebea114dc215583014
Author: Javier Jardón <jjardon gnome org>
Date: Fri Nov 6 03:16:34 2009 +0100
[gdk/gdkcolors] Add missing "Deprecated: 2.x" to the api doc comments.
gdk/gdkcolor.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkcolor.c b/gdk/gdkcolor.c
index 423bc98..9e3db06 100644
--- a/gdk/gdkcolor.c
+++ b/gdk/gdkcolor.c
@@ -39,6 +39,8 @@
* Deprecated function; use g_object_ref() instead.
*
* Return value: the colormap
+ *
+ * Deprecated: 2.0: Use g_object_ref() instead.
**/
GdkColormap*
gdk_colormap_ref (GdkColormap *cmap)
@@ -50,7 +52,9 @@ gdk_colormap_ref (GdkColormap *cmap)
* gdk_colormap_unref:
* @cmap: a #GdkColormap
*
- * Deprecated function; use g_object_ref() instead.
+ * Deprecated function; use g_object_unref() instead.
+ *
+ * Deprecated: 2.0: Use g_object_unref() instead.
**/
void
gdk_colormap_unref (GdkColormap *cmap)
@@ -247,7 +251,7 @@ gdk_colormap_alloc_color (GdkColormap *colormap,
*
* Return value: %TRUE if the allocation succeeded.
*
- * Deprecated: Use gdk_colormap_alloc_color() instead.
+ * Deprecated: 2.2: Use gdk_colormap_alloc_color() instead.
**/
gboolean
gdk_color_alloc (GdkColormap *colormap,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]