Diff of /trunk/src/gconf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 102 by harbaum, Tue Sep 1 11:16:30 2009 UTC revision 103 by harbaum, Wed Sep 9 11:50:50 2009 UTC
# Line 217  void gconf_load_state(appdata_t *appdata Line 217  void gconf_load_state(appdata_t *appdata
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 */
# Line 244  void gconf_load_state(appdata_t *appdata Line 243  void gconf_load_state(appdata_t *appdata
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);

Legend:
Removed from v.102  
changed lines
  Added in v.103