Mercurial > geeqie
comparison src/collect-table.c @ 506:fc9c8a3e1a8b
Handle the newline in DEBUG_N() macro instead of adding one
in each debug message string.
author | zas_ |
---|---|
date | Thu, 24 Apr 2008 00:15:03 +0000 |
parents | a33badd85f16 |
children | 135570a8bd96 |
comparison
equal
deleted
inserted
replaced
505:60f75a9799b2 | 506:fc9c8a3e1a8b |
---|---|
404 t = col1; | 404 t = col1; |
405 col1 = col2; | 405 col1 = col2; |
406 col2 = t; | 406 col2 = t; |
407 } | 407 } |
408 | 408 |
409 DEBUG_1("table: %d x %d to %d x %d\n", row1, col1, row2, col2); | 409 DEBUG_1("table: %d x %d to %d x %d", row1, col1, row2, col2); |
410 | 410 |
411 for (i = row1; i <= row2; i++) | 411 for (i = row1; i <= row2; i++) |
412 { | 412 { |
413 for (j = col1; j <= col2; j++) | 413 for (j = col1; j <= col2; j++) |
414 { | 414 { |
1650 | 1650 |
1651 ct->columns = new_cols; | 1651 ct->columns = new_cols; |
1652 | 1652 |
1653 collection_table_populate(ct, TRUE); | 1653 collection_table_populate(ct, TRUE); |
1654 | 1654 |
1655 DEBUG_1("col tab pop cols=%d rows=%d\n", ct->columns, ct->rows); | 1655 DEBUG_1("col tab pop cols=%d rows=%d", ct->columns, ct->rows); |
1656 } | 1656 } |
1657 | 1657 |
1658 static void collection_table_sync(CollectTable *ct) | 1658 static void collection_table_sync(CollectTable *ct) |
1659 { | 1659 { |
1660 GtkTreeModel *store; | 1660 GtkTreeModel *store; |
2070 GList *info_list = NULL; | 2070 GList *info_list = NULL; |
2071 CollectionData *source; | 2071 CollectionData *source; |
2072 CollectInfo *drop_info; | 2072 CollectInfo *drop_info; |
2073 GList *work; | 2073 GList *work; |
2074 | 2074 |
2075 DEBUG_1("%s\n", selection_data->data); | 2075 DEBUG_1("%s", selection_data->data); |
2076 | 2076 |
2077 collection_table_scroll(ct, FALSE); | 2077 collection_table_scroll(ct, FALSE); |
2078 collection_table_insert_marker(ct, NULL, FALSE); | 2078 collection_table_insert_marker(ct, NULL, FALSE); |
2079 | 2079 |
2080 drop_info = collection_table_insert_point(ct, x, y); | 2080 drop_info = collection_table_insert_point(ct, x, y); |