summaryrefslogtreecommitdiff
path: root/gtk/testgtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/testgtk.c')
-rw-r--r--gtk/testgtk.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk/testgtk.c b/gtk/testgtk.c
index df318a0fed..3c0e461d9c 100644
--- a/gtk/testgtk.c
+++ b/gtk/testgtk.c
@@ -9349,6 +9349,8 @@ main (int argc, char *argv[])
{
GtkBindingSet *binding_set;
+ g_mem_set_vtable (glib_mem_profiler_table);
+
srand (time (NULL));
test_init ();
@@ -9374,16 +9376,17 @@ main (int argc, char *argv[])
create_main_window ();
gtk_main ();
-
- if (0)
+
+ if (1)
{
- sleep (1);
while (g_main_pending ())
g_main_iteration (FALSE);
sleep (1);
while (g_main_pending ())
g_main_iteration (FALSE);
}
+ g_blow_chunks ();
+ g_mem_profile ();
return 0;
}