[gtk+/wip/baedert/gl: 16/18] showrendernode: Resize window to a reasonable size instead



commit 7c49fe579bd328f714246eb4da11afc3e9de6b3b
Author: Timm Bäder <mail baedert org>
Date:   Thu Nov 16 21:10:09 2017 +0100

    showrendernode: Resize window to a reasonable size instead

 tests/showrendernode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/showrendernode.c b/tests/showrendernode.c
index 0db3827..64ba75e 100644
--- a/tests/showrendernode.c
+++ b/tests/showrendernode.c
@@ -115,7 +115,7 @@ main (int argc, char **argv)
     }
 
   gsk_render_node_get_bounds (GTK_NODE_VIEW (nodeview)->node, &node_bounds);
-  gtk_window_resize (GTK_WINDOW (window), node_bounds.size.width, node_bounds.size.height);
+  gtk_window_resize (GTK_WINDOW (window), 600, 500);//node_bounds.size.width, node_bounds.size.height);
 
   g_signal_connect (window, "delete-event", G_CALLBACK (gtk_main_quit), NULL);
   gtk_widget_show (window);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]