From d5db986a0b11b2cb7ca4fb93a2d2d40c371d5cf2 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Wed, 21 Nov 2001 03:08:56 +0000 Subject: fix docs for gtk_window_set_policy() to reflect existence of 2001-11-20 Havoc Pennington * gtk/tmpl/gtkwindow.sgml: fix docs for gtk_window_set_policy() to reflect existence of gtk_window_set_resizable() --- docs/reference/ChangeLog | 5 +++++ docs/reference/gtk/tmpl/gtkwindow.sgml | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 248fdc3cf..6f7ba4450 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2001-11-20 Havoc Pennington + + * gtk/tmpl/gtkwindow.sgml: fix docs for gtk_window_set_policy() to + reflect existence of gtk_window_set_resizable() + 2001-11-20 Matthias Clasen * gdk/tmpl/event_structs.sgml: Small fixes. diff --git a/docs/reference/gtk/tmpl/gtkwindow.sgml b/docs/reference/gtk/tmpl/gtkwindow.sgml index d5a4f4647..db263b6bc 100644 --- a/docs/reference/gtk/tmpl/gtkwindow.sgml +++ b/docs/reference/gtk/tmpl/gtkwindow.sgml @@ -74,11 +74,10 @@ be resized by users. The basic ugly truth of this function is that it should be simply: - void gtk_window_set_user_resizeable(GtkWidget* window, gboolean setting); + void gtk_window_set_resizable(GtkWidget* window, gboolean setting); -So, pretend it is like that, and only use the two policies mentioned above. -GTK+ 1.4 may replace gtk_window_set_policy() with a nicer function like -gtk_window_set_user_resizeable(). +...which is why GTK+ 2.0 introduces gtk_window_set_resizable(), which you +should use instead of gtk_window_set_policy(). -- cgit v1.2.1