[gtk+/native-layout] [docs] Add missing "Deprecated: 2.x" to the api doc comments
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] [docs] Add missing "Deprecated: 2.x" to the api doc comments
- Date: Sun, 4 Apr 2010 02:16:50 +0000 (UTC)
commit a821df15775ff3ccd57db36d70c5083a507e52f5
Author: Javier Jardón <jjardon gnome org>
Date: Mon Jan 11 06:25:59 2010 +0100
[docs] Add missing "Deprecated: 2.x" to the api doc comments
gdk-pixbuf/gdk-pixbuf-animation.c | 4 ++--
gdk-pixbuf/gdk-pixbuf.c | 4 ++--
gdk/gdkevents.c | 4 ++--
gdk/gdkfont.c | 4 ++--
gtk/gtkcolorsel.c | 2 +-
gtk/gtkentry.c | 2 +-
gtk/gtkwidget.h | 4 ++--
7 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-animation.c b/gdk-pixbuf/gdk-pixbuf-animation.c
index 290630e..28da439 100644
--- a/gdk-pixbuf/gdk-pixbuf-animation.c
+++ b/gdk-pixbuf/gdk-pixbuf-animation.c
@@ -265,7 +265,7 @@ gdk_pixbuf_animation_new_from_file (const char *filename,
*
* Return value: The same as the @animation argument.
*
- * Deprecated: Use g_object_ref().
+ * Deprecated: 2.0: Use g_object_ref().
**/
GdkPixbufAnimation *
gdk_pixbuf_animation_ref (GdkPixbufAnimation *animation)
@@ -279,7 +279,7 @@ gdk_pixbuf_animation_ref (GdkPixbufAnimation *animation)
*
* Removes a reference from an animation.
*
- * Deprecated: Use g_object_unref().
+ * Deprecated: 2.0: Use g_object_unref().
**/
void
gdk_pixbuf_animation_unref (GdkPixbufAnimation *animation)
diff --git a/gdk-pixbuf/gdk-pixbuf.c b/gdk-pixbuf/gdk-pixbuf.c
index 86a54ab..349c98a 100644
--- a/gdk-pixbuf/gdk-pixbuf.c
+++ b/gdk-pixbuf/gdk-pixbuf.c
@@ -191,7 +191,7 @@ gdk_pixbuf_finalize (GObject *object)
*
* Return value: The same as the @pixbuf argument.
*
- * Deprecated: Use g_object_ref().
+ * Deprecated: 2.0: Use g_object_ref().
**/
GdkPixbuf *
gdk_pixbuf_ref (GdkPixbuf *pixbuf)
@@ -205,7 +205,7 @@ gdk_pixbuf_ref (GdkPixbuf *pixbuf)
*
* Removes a reference from a pixbuf.
*
- * Deprecated: Use g_object_unref().
+ * Deprecated: 2.0: Use g_object_unref().
**/
void
gdk_pixbuf_unref (GdkPixbuf *pixbuf)
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 1b89f68..2dbb242 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -1099,7 +1099,7 @@ gdk_io_invoke (GIOChannel *source,
* Returns: a tag that can later be used as an argument to
* gdk_input_remove().
*
- * Deprecated: Use g_io_add_watch_full() on a #GIOChannel
+ * Deprecated: 2.14: Use g_io_add_watch_full() on a #GIOChannel
*/
gint
gdk_input_add_full (gint source,
@@ -1147,7 +1147,7 @@ gdk_input_add_full (gint source,
* Returns: a tag that can later be used as an argument to
* gdk_input_remove().
*
- * Deprecated: Use g_io_add_watch() on a #GIOChannel
+ * Deprecated: 2.14: Use g_io_add_watch() on a #GIOChannel
*/
gint
gdk_input_add (gint source,
diff --git a/gdk/gdkfont.c b/gdk/gdkfont.c
index 4c848dd..8d98a00 100644
--- a/gdk/gdkfont.c
+++ b/gdk/gdkfont.c
@@ -116,7 +116,7 @@ gdk_string_width (GdkFont *font,
*
* Return value: the width of the character in pixels.
*
- * Deprecated: Use gdk_text_extents() instead.
+ * Deprecated: 2.2: Use gdk_text_extents() instead.
**/
gint
gdk_char_width (GdkFont *font,
@@ -308,7 +308,7 @@ gdk_text_height (GdkFont *font,
*
* Return value: the height of the character in pixels.
*
- * Deprecated: Use gdk_text_extents() instead.
+ * Deprecated: 2.2: Use gdk_text_extents() instead.
**/
gint
gdk_char_height (GdkFont *font,
diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c
index 75901ad..2a8ca74 100644
--- a/gtk/gtkcolorsel.c
+++ b/gtk/gtkcolorsel.c
@@ -2525,7 +2525,7 @@ gtk_color_selection_get_current_alpha (GtkColorSelection *colorsel)
*
* Sets @color to be the current color in the GtkColorSelection widget.
*
- * Deprecated: Use gtk_color_selection_get_current_color() instead.
+ * Deprecated: 2.0: Use gtk_color_selection_get_current_color() instead.
**/
void
gtk_color_selection_get_color (GtkColorSelection *colorsel,
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index b4eb264..51d051f 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -6568,7 +6568,7 @@ gtk_entry_new_with_buffer (GtkEntryBuffer *buffer)
*
* Return value: a new #GtkEntry
*
- * Deprecated: Use gtk_entry_set_max_length() instead.
+ * Deprecated: 2.0: Use gtk_entry_set_max_length() instead.
**/
GtkWidget*
gtk_entry_new_with_max_length (gint max)
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 3c7de58..2696268 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -1098,7 +1098,7 @@ void gtk_widget_modify_font (GtkWidget *widget,
*
* Equivalent to <literal>gtk_widget_set_style (widget, NULL)</literal>.
*
- * Deprecated: Use gtk_widget_set_style() with a %NULL @style argument instead.
+ * Deprecated: 2.0: Use gtk_widget_set_style() with a %NULL @style argument instead.
*/
#define gtk_widget_set_rc_style(widget) (gtk_widget_set_style (widget, NULL))
@@ -1108,7 +1108,7 @@ void gtk_widget_modify_font (GtkWidget *widget,
*
* Equivalent to <literal>gtk_widget_set_style (widget, NULL)</literal>.
*
- * Deprecated: Use gtk_widget_set_style() with a %NULL @style argument instead.
+ * Deprecated: 2.0: Use gtk_widget_set_style() with a %NULL @style argument instead.
*/
#define gtk_widget_restore_default_style(widget) (gtk_widget_set_style (widget, NULL))
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]