[gtk/wip/exalm/test: 16/37] tests: Fix testfontchooser layout
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/exalm/test: 16/37] tests: Fix testfontchooser layout
- Date: Mon, 11 May 2020 15:18:23 +0000 (UTC)
commit 6920fc362598ec6e068139a3c43186b9c80a8dc1
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon May 11 04:52:04 2020 +0500
tests: Fix testfontchooser layout
Remove an extra box so that we don't need to expand the chooser.
tests/testfontchooser.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/tests/testfontchooser.c b/tests/testfontchooser.c
index dedb011f9b..b13acbc21a 100644
--- a/tests/testfontchooser.c
+++ b/tests/testfontchooser.c
@@ -69,7 +69,6 @@ int
main (int argc, char *argv[])
{
GtkWidget *window;
- GtkWidget *box;
GtkWidget *fontchooser;
gboolean done = FALSE;
@@ -79,9 +78,7 @@ main (int argc, char *argv[])
window = gtk_window_new ();
gtk_widget_set_size_request (window, 600, 600);
- box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
- gtk_window_set_child (GTK_WINDOW (window), box);
- gtk_container_add (GTK_CONTAINER (box), fontchooser);
+ gtk_window_set_child (GTK_WINDOW (window), fontchooser);
gtk_widget_show (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]