summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdrien Plazas <kekun.plazas@laposte.net>2019-01-26 18:46:11 +0100
committerAdrien Plazas <kekun.plazas@laposte.net>2019-01-29 12:35:09 +0100
commita57c9a3c564c9a35022d3a9e3c62ba64ef94d802 (patch)
treea84823b8475ad0657f66dc60ed1738e9c7bcdfed /lib
parent3e72790bb4086887965d58e130056fa7fe05e927 (diff)
downloadgnome-bluetooth-a57c9a3c564c9a35022d3a9e3c62ba64ef94d802.tar.gz
test-settings: Reduce the minimum size
This allows to better test the size adaptation of the widget.
Diffstat (limited to 'lib')
-rw-r--r--lib/test-settings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/test-settings.c b/lib/test-settings.c
index f4e49798..9d2045b5 100644
--- a/lib/test-settings.c
+++ b/lib/test-settings.c
@@ -16,7 +16,8 @@ int main (int argc, char **argv)
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_size_request (window, 800, 600);
+ gtk_widget_set_size_request (window, 300, 600);
+ gtk_window_set_default_size (GTK_WINDOW (window), 800, -1);
gtk_window_set_resizable (GTK_WINDOW (window), TRUE);
g_signal_connect (G_OBJECT (window), "delete-event",
G_CALLBACK (delete_event_cb), NULL);