[gnome-bluetooth: 5/6] test-settings: Reduce the minimum size
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth: 5/6] test-settings: Reduce the minimum size
- Date: Wed, 30 Jan 2019 09:32:46 +0000 (UTC)
commit a57c9a3c564c9a35022d3a9e3c62ba64ef94d802
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sat Jan 26 18:46:11 2019 +0100
test-settings: Reduce the minimum size
This allows to better test the size adaptation of the widget.
lib/test-settings.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]