7182: Avoid using private functions in GExiv2 > 0.5
svn: r23475
This commit is contained in:
parent
56878b3205
commit
93fe889a4c
@ -178,7 +178,7 @@ class MetadataView(Gtk.TreeView):
|
|||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
get_human = metadata.get_exif_tag_interpreted_string
|
get_human = metadata.get_tag_interpreted_string
|
||||||
|
|
||||||
for section, key, key2, func in TAGS:
|
for section, key, key2, func in TAGS:
|
||||||
if not key in metadata.get_exif_tags():
|
if not key in metadata.get_exif_tags():
|
||||||
@ -197,7 +197,7 @@ class MetadataView(Gtk.TreeView):
|
|||||||
if key2 in metadata.get_exif_tags():
|
if key2 in metadata.get_exif_tags():
|
||||||
human_value += ' ' + get_human(key2)
|
human_value += ' ' + get_human(key2)
|
||||||
|
|
||||||
label = metadata.get_exif_tag_label(key)
|
label = metadata.get_tag_label(key)
|
||||||
node = self.__add_section(section)
|
node = self.__add_section(section)
|
||||||
if human_value is None:
|
if human_value is None:
|
||||||
human_value = ''
|
human_value = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user