window: Deprecate gtk_window_reshow_with_initial_size()

This commit is contained in:
Benjamin Otte 2013-05-01 16:23:17 +02:00
parent d90e3670ce
commit 01f7ed1d07
2 changed files with 5 additions and 0 deletions

View File

@ -4871,6 +4871,10 @@ gtk_window_get_position (GtkWindow *window,
* Hides @window, then reshows it, resetting the * Hides @window, then reshows it, resetting the
* default size and position of the window. Used * default size and position of the window. Used
* by GUI builders only. * by GUI builders only.
*
* Deprecated: 3.10: GUI builders can call gtk_widget_hide(),
* gtk_widget_unrealize() and then gtk_widget_show() on @window
* themselves, if they still need this functionality.
**/ **/
void void
gtk_window_reshow_with_initial_size (GtkWindow *window) gtk_window_reshow_with_initial_size (GtkWindow *window)

View File

@ -315,6 +315,7 @@ GtkWindowGroup *gtk_window_get_group (GtkWindow *window);
gboolean gtk_window_has_group (GtkWindow *window); gboolean gtk_window_has_group (GtkWindow *window);
/* Ignore this unless you are writing a GUI builder */ /* Ignore this unless you are writing a GUI builder */
GDK_DEPRECATED_IN_3_10
void gtk_window_reshow_with_initial_size (GtkWindow *window); void gtk_window_reshow_with_initial_size (GtkWindow *window);
GtkWindowType gtk_window_get_window_type (GtkWindow *window); GtkWindowType gtk_window_get_window_type (GtkWindow *window);