gtk+ r21819 - in trunk: . docs/reference docs/reference/gtk/tmpl gtk



Author: matthiasc
Date: Sat Nov 29 07:19:12 2008
New Revision: 21819
URL: http://svn.gnome.org/viewvc/gtk+?rev=21819&view=rev

Log:
improve deprecation annotation


Modified:
   trunk/ChangeLog
   trunk/docs/reference/ChangeLog
   trunk/docs/reference/gtk/tmpl/gtkdrawingarea.sgml
   trunk/gtk/gtkdnd.c

Modified: trunk/docs/reference/gtk/tmpl/gtkdrawingarea.sgml
==============================================================================
--- trunk/docs/reference/gtk/tmpl/gtkdrawingarea.sgml	(original)
+++ trunk/docs/reference/gtk/tmpl/gtkdrawingarea.sgml	Sat Nov 29 07:19:12 2008
@@ -124,7 +124,6 @@
 
 <!-- ##### FUNCTION gtk_drawing_area_size ##### -->
 <para>
-(Use gtk_widget_set_size_request() instead.)
 Sets the size that the drawing area will request
 in response to a "size_request" signal. The 
 drawing area may actually be allocated a size
@@ -132,8 +131,8 @@
 within the enclosing containers.
 </para>
 
- darea: a #GtkDrawingArea.
- width: the width to request.
- height: the height to request.
-
+ darea: a #GtkDrawingArea
+ width: the width to request
+ height: the height to request
+ Deprecated: Use gtk_widget_set_size_request() instead.
 

Modified: trunk/gtk/gtkdnd.c
==============================================================================
--- trunk/gtk/gtkdnd.c	(original)
+++ trunk/gtk/gtkdnd.c	Sat Nov 29 07:19:12 2008
@@ -3239,8 +3239,9 @@
  * 
  * Changes the default drag icon. GTK+ retains references for the
  * arguments, and will release them when they are no longer needed.
- * This function is obsolete. The default icon should now be changed
- * via the stock system by changing the stock pixbuf for #GTK_STOCK_DND.
+ *
+ * Deprecated: Change the default drag icon via the stock system by 
+ *     changing the stock pixbuf for #GTK_STOCK_DND instead.
  **/
 void 
 gtk_drag_set_default_icon (GdkColormap   *colormap,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]