]> Pileus Git - ~andy/gtk/commitdiff
[docs] Add missing "Deprecated: 2.x" to the api doc comments
authorJavier Jardón <jjardon@gnome.org>
Mon, 11 Jan 2010 05:25:59 +0000 (06:25 +0100)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:55:13 +0000 (20:55 -0400)
gdk-pixbuf/gdk-pixbuf-animation.c
gdk-pixbuf/gdk-pixbuf.c
gdk/gdkevents.c
gdk/gdkfont.c
gtk/gtkcolorsel.c
gtk/gtkentry.c
gtk/gtkwidget.h

index 290630ef0cfa759e176f9b7de824260329be5453..28da439d9960ea9238973e86fa2e606c07c4ff3b 100644 (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)
index 86a54ab099d2f69d7d4d2c3a6a9ce486e9dd05b3..349c98a1c63b3ac961d694f058a9aa97438ff512 100644 (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)
index 1b89f682f501ff835d0082319adb39837791f610..2dbb24237019cd6dfc2cd1932b3ec0b3145cbd43 100644 (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,
index 4c848dde7237e2797429e7681d05654bcc7dc197..8d98a0016ead8b4c30123af1baf44f6dd44ccf5a 100644 (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,
index 75901adcac148922979c78f26245c504d60699ea..2a8ca74cf85dd6db534995baffb44863ffc43cf0 100644 (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,
index b4eb26403c933734c82b4943a4cfd58086757e0b..51d051fd0d98829d10ac8fc729c1a42874f2e2f3 100644 (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)
index 3c7de5890e3da5de5355c97dc35690e04b1fd9de..2696268b217a778b3d5e5a4c7fcb116ee6ffb938 100644 (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