[gtk+] window: Deprecate gtk_window_set_default_geometry()



commit b22fdf24e0a70b17f9920ce85cb24e2024d388a0
Author: Benjamin Otte <otte redhat com>
Date:   Wed Jan 27 01:07:01 2016 +0100

    window: Deprecate gtk_window_set_default_geometry()
    
    We don't support geometries anymore.

 gtk/gtkwindow.c |    3 +++
 gtk/gtkwindow.h |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 008a2d9..2992911 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5233,6 +5233,9 @@ gtk_window_set_default_size (GtkWindow   *window,
  * gtk_window_set_geometry_hints.
  *
  * Since: 3.0
+ *
+ * Deprecated: 3.20: This function does noting. If you want to set a default
+ *     size, use gtk_window_set_default_size() instead.
  */
 void
 gtk_window_set_default_geometry (GtkWindow *window,
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index ad275c9..06efb05 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -443,7 +443,7 @@ GDK_AVAILABLE_IN_ALL
 gboolean gtk_window_parse_geometry   (GtkWindow   *window,
                                       const gchar *geometry);
 
-GDK_AVAILABLE_IN_ALL
+GDK_DEPRECATED_IN_3_20_FOR(gtk_window_set_default_size)
 void gtk_window_set_default_geometry (GtkWindow *window,
                                       gint       width,
                                       gint       height);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]