Mercurial > geeqie.yaz
comparison src/pan-view.c @ 324:6c2cf2f12b0d
Drop redundant code.
author | zas_ |
---|---|
date | Sat, 12 Apr 2008 07:00:14 +0000 |
parents | b16b9b8979e5 |
children | 767b53cd9ab7 |
comparison
equal
deleted
inserted
replaced
323:4e721492341b | 324:6c2cf2f12b0d |
---|---|
1436 exif = exif_read_fd(fd, FALSE); | 1436 exif = exif_read_fd(fd, FALSE); |
1437 if (!exif) return; | 1437 if (!exif) return; |
1438 | 1438 |
1439 pan_text_alignment_add(ta, NULL, NULL); | 1439 pan_text_alignment_add(ta, NULL, NULL); |
1440 | 1440 |
1441 for (i = 0; i < bar_exif_key_count; i++) | 1441 for (i = 0; ExifUIList[i].key; i++) |
1442 { | 1442 { |
1443 gchar *label; | 1443 gchar *label; |
1444 gchar *text; | 1444 gchar *text; |
1445 | 1445 |
1446 label = g_strdup_printf("%s:", exif_get_description_by_key(bar_exif_key_list[i])); | 1446 label = g_strdup_printf("%s:", exif_get_description_by_key(ExifUIList[i].key)); |
1447 text = exif_get_data_as_text(exif, bar_exif_key_list[i]); | 1447 text = exif_get_data_as_text(exif, ExifUIList[i].key); |
1448 text = bar_exif_validate_text(text); | 1448 text = bar_exif_validate_text(text); |
1449 pan_text_alignment_add(ta, label, text); | 1449 pan_text_alignment_add(ta, label, text); |
1450 g_free(label); | 1450 g_free(label); |
1451 g_free(text); | 1451 g_free(text); |
1452 } | 1452 } |