~jeremywootten/pantheon-files/transfer-popover-with-pie-progress

« back to all changes in this revision

Viewing changes to libcore/marlin-progress-info.c

  • Committer: jeremy at elementaryos
  • Date: 2016-07-03 13:25:59 UTC
  • Revision ID: jeremy@elementaryos.org-20160703132559-hrzm9ukv4vptefkq
Initialise info->current_filename; return empty string if null

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
    info->status = NULL;
174
174
    info->ctype = NULL;
175
175
    info->destination = NULL;
 
176
    info->current_filename = NULL;
176
177
    info->total_files = -1;
177
178
    info->no_files = -1;
178
179
 
574
575
    if (info->current_filename) {
575
576
        cfn = g_strdup (info->current_filename);
576
577
    } else {
577
 
        cfn = NULL;
 
578
        cfn = "";
578
579
    }
579
580
 
580
581
    G_UNLOCK (progress_info);