summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysprof.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysprof.c b/sysprof.c
index 6b5a33b..0f1bd8a 100644
--- a/sysprof.c
+++ b/sysprof.c
@@ -487,9 +487,11 @@ fill_descendants_tree (Application *app)
if (descendants->children)
{
+#if 0
foo_tree_store_insert (store, &iter2, &iter, 0);
set_row (store, &iter2, "<i>Descendants</i>", -1.0, -1.0, NULL);
- add_node (store, size, &iter2, descendants->children);
+#endif
+ add_node (store, size, &iter, descendants->children);
profile_descendant_free (descendants);
}
@@ -985,7 +987,7 @@ set_sizes (GtkWindow *window)
gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor);
- width = 3 * (monitor.width / 8);
+ width = 0.45 * (monitor.width);
height = 0.9 * monitor.height;
gtk_window_resize (window, width, height);