diff src/layout.c @ 1735:6cae2af8fdd1

added messages for debugging startup time
author nadvornik
date Sun, 06 Sep 2009 09:08:37 +0000
parents daab013a0dcf
children 956aab097ea7
line wrap: on
line diff
--- a/src/layout.c	Sat Sep 05 13:48:21 2009 +0000
+++ b/src/layout.c	Sun Sep 06 09:08:37 2009 +0000
@@ -2073,6 +2073,7 @@
 	GdkWindowHints hint_mask;
 	Histogram *histogram;
 
+	DEBUG_1("%s layout_new: start", get_exec_time());
 	lw = g_new0(LayoutWindow, 1);
 
 	if (lop)
@@ -2200,6 +2201,8 @@
 
 	file_data_register_notify_func(layout_image_notify_cb, lw, NOTIFY_PRIORITY_LOW);
 
+	DEBUG_1("%s layout_new: end", get_exec_time());
+
 	return lw;
 }