scrolledwindow: deprecate gtk_scrolled_window_add_with_viewport()

https://bugzilla.gnome.org/show_bug.cgi?id=693015
This commit is contained in:
Cosimo Cecchi 2013-02-01 17:10:30 +01:00 committed by Matthias Clasen
parent ce869921ab
commit ad70142d2c
2 changed files with 5 additions and 0 deletions

View File

@ -3100,6 +3100,10 @@ gtk_scrolled_window_remove (GtkContainer *container,
*
* A widget supports scrolling natively if it implements the
* #GtkScrollable interface.
*
* Deprecated: 3.8: gtk_container_add() will now automatically add
* a #GtkViewport if the child doesn't implement #GtkScrollable. This
* function now just calls gtk_container_add()
*/
void
gtk_scrolled_window_add_with_viewport (GtkScrolledWindow *scrolled_window,

View File

@ -106,6 +106,7 @@ GtkCornerType gtk_scrolled_window_get_placement (GtkScrolledWindow *scrolle
void gtk_scrolled_window_set_shadow_type (GtkScrolledWindow *scrolled_window,
GtkShadowType type);
GtkShadowType gtk_scrolled_window_get_shadow_type (GtkScrolledWindow *scrolled_window);
GDK_DEPRECATED_IN_3_8_FOR(gtk_container_add)
void gtk_scrolled_window_add_with_viewport (GtkScrolledWindow *scrolled_window,
GtkWidget *child);