217 |
char str[128]; |
char str[128]; |
218 |
snprintf(str, sizeof(str), GCONF_KEY_GPX, i); |
snprintf(str, sizeof(str), GCONF_KEY_GPX, i); |
219 |
char *fname = gconf_client_get_string(appdata->gconf_client, str, NULL); |
char *fname = gconf_client_get_string(appdata->gconf_client, str, NULL); |
|
|
|
220 |
if(fname) { |
if(fname) { |
221 |
/* check if there's a valid name stored for this file. */ |
/* check if there's a valid name stored for this file. */ |
222 |
/* if yes it's a "closed" file */ |
/* if yes it's a "closed" file */ |
243 |
} else |
} else |
244 |
free(fname); |
free(fname); |
245 |
} |
} |
246 |
|
gpx = &((*gpx)->next); |
247 |
} |
} |
|
|
|
|
gpx = &((*gpx)->next); |
|
248 |
} |
} |
249 |
|
|
250 |
gpx_busy_dialog_destroy(dialog); |
gpx_busy_dialog_destroy(dialog); |