Commit 6875bcf6 authored by Paolo Bacchilega's avatar Paolo Bacchilega

use the application name (gThumb) in the Exif.Image.Software tag

parent f08d7bb2
......@@ -894,8 +894,9 @@ exiv2_write_metadata_private (Exiv2::Image::AutoPtr image,
GFileInfo *info,
GdkPixbuf *pixbuf)
{
char **attributes;
int i;
static char *software_name = NULL;
char **attributes;
int i;
image->clearMetadata();
......@@ -954,7 +955,9 @@ exiv2_write_metadata_private (Exiv2::Image::AutoPtr image,
// Overwrite the software tag
ed["Exif.Image.Software"] = PACKAGE " " VERSION;
if (software_name == NULL)
software_name = g_strconcat (g_get_application_name (), " ", VERSION, NULL);
ed["Exif.Image.Software"] = software_name;
// Update the dimension tags with actual image values
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment