[docs] Add missing "Deprecated: 2.x" to the api doc comments

This commit is contained in:
Javier Jardón 2010-01-11 06:25:59 +01:00 committed by Tristan Van Berkom
parent 99e2f97f30
commit a821df1577
7 changed files with 12 additions and 12 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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)

View File

@ -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