[gtk+/gtk-2-24] Deprecate gtk_widget_hide_all().
- From: Cody Russell <bratsche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] Deprecate gtk_widget_hide_all().
- Date: Tue, 19 Oct 2010 17:54:48 +0000 (UTC)
commit 7b5b230eadace2f1b8bd86c0e0f0eff2cd4e9dae
Author: Cody Russell <crussell canonical com>
Date: Tue Oct 19 19:54:32 2010 +0200
Deprecate gtk_widget_hide_all().
gtk/gtkwidget.c | 2 ++
gtk/gtkwidget.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 6482031..33927e3 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 9e148b6..cb84e17 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]