[gtk+/gtk-2-90: 63/161] Remove deprecated GtkWindow function



commit de98ea7e39fc5963eee650ba5ca3d9e8147b0c86
Author: Javier Jardón <javierjc1982 gmail com>
Date:   Thu Oct 8 17:51:01 2009 +0200

    Remove deprecated GtkWindow function

 gtk/gtkwindow.c |   11 -----------
 gtk/gtkwindow.h |    8 --------
 2 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 33d5dab..4882b4a 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -1726,17 +1726,6 @@ gtk_window_set_policy_internal (GtkWindow *window,
   gtk_widget_queue_resize_no_redraw (GTK_WIDGET (window));
 }
 
-void
-gtk_window_set_policy (GtkWindow *window,
-		       gboolean   allow_shrink,
-		       gboolean   allow_grow,
-		       gboolean   auto_shrink)
-{
-  g_return_if_fail (GTK_IS_WINDOW (window));
-
-  gtk_window_set_policy_internal (window, allow_shrink, allow_grow, auto_shrink);
-}
-
 static gboolean
 handle_keys_changed (gpointer data)
 {
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index 1b4362f..f1d1767 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -352,14 +352,6 @@ void gtk_window_begin_move_drag   (GtkWindow     *window,
                                    gint           root_y,
                                    guint32        timestamp);
 
-#ifndef GTK_DISABLE_DEPRECATED
-void       gtk_window_set_policy               (GtkWindow           *window,
-						gint                 allow_shrink,
-						gint                 allow_grow,
-						gint                 auto_shrink);
-#define	gtk_window_position			gtk_window_set_position
-#endif /* GTK_DISABLE_DEPRECATED */
-
 /* Set initial default size of the window (does not constrain user
  * resize operations)
  */



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