summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJavier Jardón <javierjc1982@gmail.com>2009-10-10 20:27:57 +0200
committerJavier Jardón <jjardon@gnome.org>2010-05-03 01:49:50 +0200
commite606a4ec2ae328fecc7faa12c7d3554fa708c1f3 (patch)
treefe3beb4d6b273c32f3a747190578aaad478d62e7 /examples
parent123830b133a5f80ca1c052f52134dce1c55816d2 (diff)
downloadgtk+-e606a4ec2ae328fecc7faa12c7d3554fa708c1f3.tar.gz
Remove remaining GtkWindow deprecated documentation
This completes commit 89e3ec8c3d766c333f6e67764ebd7633d61e21cd
Diffstat (limited to 'examples')
-rw-r--r--examples/colorsel/colorsel.c2
-rw-r--r--examples/text/text.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/examples/colorsel/colorsel.c b/examples/colorsel/colorsel.c
index cd2801c875..9d3671de69 100644
--- a/examples/colorsel/colorsel.c
+++ b/examples/colorsel/colorsel.c
@@ -90,7 +90,7 @@ gint main( gint argc,
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "Color selection test");
- gtk_window_set_policy (GTK_WINDOW (window), TRUE, TRUE, TRUE);
+ gtk_window_set_resizable (GTK_WINDOW (window), TRUE);
/* Attach to the "delete" and "destroy" events so we can exit */
diff --git a/examples/text/text.c b/examples/text/text.c
index 2b05c472b5..0b6c82574c 100644
--- a/examples/text/text.c
+++ b/examples/text/text.c
@@ -47,7 +47,6 @@ int main( int argc,
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_set_size_request (window, 600, 500);
- gtk_window_set_policy (GTK_WINDOW (window), TRUE, TRUE, FALSE);
g_signal_connect (G_OBJECT (window), "destroy",
G_CALLBACK (close_application),
NULL);