Deprecate show_all apis

These functions are gone in GTK+ 4, so deprecate them here.
This commit is contained in:
Matthias Clasen 2018-07-31 13:31:57 -04:00
parent 06800b22ff
commit 4d71d2303d
2 changed files with 4 additions and 4 deletions

View File

@ -1260,7 +1260,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
P_("No show all"),
P_("Whether gtk_widget_show_all() should not affect this widget"),
FALSE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY|G_PARAM_DEPRECATED);
/**
* GtkWidget:has-tooltip:

View File

@ -628,12 +628,12 @@ GDK_AVAILABLE_IN_ALL
void gtk_widget_hide (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
void gtk_widget_show_now (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
GDK_DEPRECATED_IN_3_24
void gtk_widget_show_all (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
GDK_DEPRECATED_IN_3_24
void gtk_widget_set_no_show_all (GtkWidget *widget,
gboolean no_show_all);
GDK_AVAILABLE_IN_ALL
GDK_DEPRECATED_IN_3_24
gboolean gtk_widget_get_no_show_all (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
void gtk_widget_map (GtkWidget *widget);