diff --git a/ChangeLog b/ChangeLog index e26338a5ed..ea0b82d90d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2008-11-29 Matthias Clasen + * gtk/gtkdnd.c: * gtk/gtkcolorsel.c: * gtk/gtkbindings.c: Improve deprecation annotations. diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 62e9ca7b1f..485d5a38da 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,5 +1,6 @@ 2008-11-29 Matthias Clasen + * gtk/tmpl/gtkdrawingarea.sgml: * gtk/tmpl/gtkcheckmenuitem.sgml: * gtk/tmpl/gtkcalendar.sgml: * gtk/tmpl/gtkbbox.sgml: Improve deprecation annotations. diff --git a/docs/reference/gtk/tmpl/gtkdrawingarea.sgml b/docs/reference/gtk/tmpl/gtkdrawingarea.sgml index 9b5356238e..2701e8c2bf 100644 --- a/docs/reference/gtk/tmpl/gtkdrawingarea.sgml +++ b/docs/reference/gtk/tmpl/gtkdrawingarea.sgml @@ -124,7 +124,6 @@ Creates a new drawing area. -(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 @@ larger than this depending on how it is packed within the enclosing containers. -@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. diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index 18e6e017a5..b8e5fbc09f 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -3239,8 +3239,9 @@ gtk_drag_set_icon_default (GdkDragContext *context) * * 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,