[gtk+/gtk-2-90: 63/146] Remove deprecated GtkWindow function
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 63/146] Remove deprecated GtkWindow function
- Date: Wed, 9 Dec 2009 07:40:17 +0000 (UTC)
commit be0572366f17924f3b8a33eb1974c4dab6522f07
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 98747b2..9887745 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -1701,17 +1701,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 dc59dfe..c03b980 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -349,14 +349,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]