diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 6482031795..33927e3d8e 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -3273,6 +3273,8 @@ gtk_widget_show_now (GtkWidget *widget) * * Reverses the effects of gtk_widget_show(), causing the widget to be * hidden (invisible to the user). + * + * Deprecated: 2.0: Use gtk_widget_hide() instead. **/ void gtk_widget_hide (GtkWidget *widget) diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 9e148b612a..cb84e173d7 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -843,6 +843,7 @@ void gtk_widget_unref (GtkWidget *widget); void gtk_widget_set (GtkWidget *widget, const gchar *first_property_name, ...) G_GNUC_NULL_TERMINATED; +void gtk_widget_hide_all (GtkWidget *widget); #endif /* GTK_DISABLE_DEPRECATED */ void gtk_widget_unparent (GtkWidget *widget); void gtk_widget_show (GtkWidget *widget);