diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2002-10-13 15:24:40 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2002-10-13 15:24:40 +0000 |
commit | c7346aa2f58b15be61144c903cbbb50e9de4d93b (patch) | |
tree | d6816f9cdd13d912b3148c61d6dbd0b2b2ee1258 /tests | |
parent | 4cd4889e11588d14f9119907dbde4add3d429be4 (diff) | |
download | gdk-pixbuf-c7346aa2f58b15be61144c903cbbb50e9de4d93b.tar.gz |
remove references to non-existing properties GtkWindow::allow_shrink and
Sun Oct 13 17:21:15 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* tests/testgtk.c (window_controls), tests/testgtk.c
(create_tooltips): remove references to non-existing properties
GtkWindow::allow_shrink and GtkWidget::width
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgtk.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index 2727b3ee1..bde08d136 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -3019,8 +3019,6 @@ create_tooltips (GtkWidget *widget) "GtkWindow::title", "Tooltips", "GtkWindow::allow_shrink", TRUE, "GtkWindow::allow_grow", FALSE, - "GtkWindow::auto_shrink", TRUE, - "GtkWidget::width", 200, NULL); gtk_window_set_screen (GTK_WINDOW (window), @@ -9633,16 +9631,6 @@ allow_grow_callback (GtkWidget *widget, } static void -auto_shrink_callback (GtkWidget *widget, - gpointer data) -{ - g_object_set (G_OBJECT (g_object_get_data (data, "target")), - "auto_shrink", - GTK_TOGGLE_BUTTON (widget)->active, - NULL); -} - -static void gravity_selected (GtkWidget *widget, gpointer data) { @@ -10025,14 +10013,6 @@ window_controls (GtkWidget *window) GTK_OBJECT (control_window)); gtk_box_pack_end (GTK_BOX (vbox), button, FALSE, FALSE, 0); - button = gtk_check_button_new_with_label ("Auto shrink"); - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), FALSE); - gtk_signal_connect (GTK_OBJECT (button), - "toggled", - GTK_SIGNAL_FUNC (auto_shrink_callback), - GTK_OBJECT (control_window)); - gtk_box_pack_end (GTK_BOX (vbox), button, FALSE, FALSE, 0); - button = gtk_button_new_with_mnemonic ("_Show"); gtk_signal_connect_object (GTK_OBJECT (button), "clicked", |