diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2020-12-02 10:21:12 +0100 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2020-12-07 09:46:39 +0100 |
commit | 2854d0339caf53ed822036ee64f56878b50f243c (patch) | |
tree | 42469ed68ae966d4105904c5460ee2ac8809f51c /tests | |
parent | 98fffe6f23998deba31dd5da67d3b0f9b9482134 (diff) | |
download | gtk+-2854d0339caf53ed822036ee64f56878b50f243c.tar.gz |
tests/testgtk: Remove 'Resize' button
The gtk_window_resize() API is going away, so remove this test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgtk.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index 188ecb0554..06a9f0f06a 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -4776,17 +4776,6 @@ get_ints (GtkWidget *window, } static void -set_size_callback (GtkWidget *widget, - gpointer data) -{ - int w, h; - - get_ints (data, &w, &h); - - gtk_window_resize (GTK_WINDOW (g_object_get_data (data, "target")), w, h); -} - -static void unset_default_size_callback (GtkWidget *widget, gpointer data) { @@ -4891,13 +4880,6 @@ window_controls (GtkWidget *window) G_CONNECT_SWAPPED); gtk_box_append (GTK_BOX (vbox), button); - button = gtk_button_new_with_label ("Resize"); - g_signal_connect (button, - "clicked", - G_CALLBACK (set_size_callback), - control_window); - gtk_box_append (GTK_BOX (vbox), button); - button = gtk_button_new_with_label ("Set default size"); g_signal_connect (button, "clicked", |