From ccf17a828bda3c22df7bd44c0736bf972c0588b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 11 Jan 2010 06:25:59 +0100 Subject: [PATCH] [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 290630ef0c..28da439d99 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 86a54ab099..349c98a1c6 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 1b89f682f5..2dbb242370 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 4c848dde72..8d98a0016e 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 75901adcac..2a8ca74cf8 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 b4eb26403c..51d051fd0d 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 dcc4fb72b1..1417fda41f 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -1092,7 +1092,7 @@ void gtk_widget_modify_font (GtkWidget *widget, * * Equivalent to gtk_widget_set_style (widget, NULL). * - * 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)) @@ -1102,7 +1102,7 @@ void gtk_widget_modify_font (GtkWidget *widget, * * Equivalent to gtk_widget_set_style (widget, NULL). * - * 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