Mercurial > geeqie
comparison 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 |
comparison
equal
deleted
inserted
replaced
1734:d3060e56fbf2 | 1735:6cae2af8fdd1 |
---|---|
2071 LayoutWindow *lw; | 2071 LayoutWindow *lw; |
2072 GdkGeometry hint; | 2072 GdkGeometry hint; |
2073 GdkWindowHints hint_mask; | 2073 GdkWindowHints hint_mask; |
2074 Histogram *histogram; | 2074 Histogram *histogram; |
2075 | 2075 |
2076 DEBUG_1("%s layout_new: start", get_exec_time()); | |
2076 lw = g_new0(LayoutWindow, 1); | 2077 lw = g_new0(LayoutWindow, 1); |
2077 | 2078 |
2078 if (lop) | 2079 if (lop) |
2079 copy_layout_options(&lw->options, lop); | 2080 copy_layout_options(&lw->options, lop); |
2080 else | 2081 else |
2197 histogram->histogram_mode = lw->options.image_overlay.histogram_mode; | 2198 histogram->histogram_mode = lw->options.image_overlay.histogram_mode; |
2198 | 2199 |
2199 layout_window_list = g_list_append(layout_window_list, lw); | 2200 layout_window_list = g_list_append(layout_window_list, lw); |
2200 | 2201 |
2201 file_data_register_notify_func(layout_image_notify_cb, lw, NOTIFY_PRIORITY_LOW); | 2202 file_data_register_notify_func(layout_image_notify_cb, lw, NOTIFY_PRIORITY_LOW); |
2203 | |
2204 DEBUG_1("%s layout_new: end", get_exec_time()); | |
2202 | 2205 |
2203 return lw; | 2206 return lw; |
2204 } | 2207 } |
2205 | 2208 |
2206 void layout_write_attributes(LayoutOptions *layout, GString *outstr, gint indent) | 2209 void layout_write_attributes(LayoutOptions *layout, GString *outstr, gint indent) |