comparison src/bar_exif.c @ 1464:1b3751ac4743

be more verbose on parse errors
author nadvornik
date Fri, 20 Mar 2009 10:12:29 +0000
parents e015b6573d36
children 607c60506863
comparison
equal deleted inserted replaced
1463:25168240a247 1464:1b3751ac4743
780 const gchar *value = *attribute_values++; 780 const gchar *value = *attribute_values++;
781 781
782 if (READ_CHAR_FULL("pane.title", title)) continue; 782 if (READ_CHAR_FULL("pane.title", title)) continue;
783 if (READ_BOOL_FULL("pane.expanded", expanded)) continue; 783 if (READ_BOOL_FULL("pane.expanded", expanded)) continue;
784 784
785 DEBUG_1("unknown attribute %s = %s", option, value); 785 log_printf("unknown attribute %s = %s\n", option, value);
786 } 786 }
787 787
788 return bar_pane_exif_new(title, expanded, FALSE); 788 return bar_pane_exif_new(title, expanded, FALSE);
789 } 789 }
790 790
807 if (READ_CHAR_FULL("key", key)) continue; 807 if (READ_CHAR_FULL("key", key)) continue;
808 if (READ_CHAR_FULL("title", title)) continue; 808 if (READ_CHAR_FULL("title", title)) continue;
809 if (READ_BOOL_FULL("if_set", if_set)) continue; 809 if (READ_BOOL_FULL("if_set", if_set)) continue;
810 if (READ_BOOL_FULL("editable", editable)) continue; 810 if (READ_BOOL_FULL("editable", editable)) continue;
811 811
812 DEBUG_1("unknown attribute %s = %s", option, value); 812 log_printf("unknown attribute %s = %s\n", option, value);
813 } 813 }
814 814
815 if (key && key[0]) bar_pane_exif_add_entry(ped, key, title, if_set, editable); 815 if (key && key[0]) bar_pane_exif_add_entry(ped, key, title, if_set, editable);
816 } 816 }
817 817