comparison src/preferences.c @ 1053:77ca9a5d42be

fixed charset of exiv2 strings in non-utf8 locales
author nadvornik
date Sat, 04 Oct 2008 20:28:31 +0000
parents e59a9c96d290
children 1646720364cf
comparison
equal deleted inserted replaced
1052:338c21c87ff5 1053:77ca9a5d42be
1326 1326
1327 table = pref_table_new(group, 2, 2, FALSE, FALSE); 1327 table = pref_table_new(group, 2, 2, FALSE, FALSE);
1328 1328
1329 for (i = 0; ExifUIList[i].key; i++) 1329 for (i = 0; ExifUIList[i].key; i++)
1330 { 1330 {
1331 const gchar *title; 1331 gchar *title;
1332 1332
1333 title = exif_get_description_by_key(ExifUIList[i].key); 1333 title = exif_get_description_by_key(ExifUIList[i].key);
1334 exif_item(table, 0, i, title, ExifUIList[i].current, 1334 exif_item(table, 0, i, title, ExifUIList[i].current,
1335 &ExifUIList[i].temp); 1335 &ExifUIList[i].temp);
1336 g_free(title);
1336 } 1337 }
1337 } 1338 }
1338 1339
1339 /* advanced entry tab */ 1340 /* advanced entry tab */
1340 static void config_tab_advanced(GtkWidget *notebook) 1341 static void config_tab_advanced(GtkWidget *notebook)