[gtk+] window: Deprecate gtk_window_reshow_with_initial_size()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] window: Deprecate gtk_window_reshow_with_initial_size()
- Date: Wed, 1 May 2013 15:47:29 +0000 (UTC)
commit 01f7ed1d073096364180d00c5684fb782779d454
Author: Benjamin Otte <otte redhat com>
Date: Wed May 1 16:23:17 2013 +0200
window: Deprecate gtk_window_reshow_with_initial_size()
gtk/gtkwindow.c | 4 ++++
gtk/gtkwindow.h | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 1b54c1e..d509920 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -4871,6 +4871,10 @@ gtk_window_get_position (GtkWindow *window,
* Hides @window, then reshows it, resetting the
* default size and position of the window. Used
* 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
gtk_window_reshow_with_initial_size (GtkWindow *window)
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index 6472a7e..5de3dfe 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -315,6 +315,7 @@ GtkWindowGroup *gtk_window_get_group (GtkWindow *window);
gboolean gtk_window_has_group (GtkWindow *window);
/* Ignore this unless you are writing a GUI builder */
+GDK_DEPRECATED_IN_3_10
void gtk_window_reshow_with_initial_size (GtkWindow *window);
GtkWindowType gtk_window_get_window_type (GtkWindow *window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]