comparison src/ui_utildlg.c @ 702:e07895754e65

Drop concat_dir_and_file() and use g_build_filename() instead.
author zas_
date Tue, 20 May 2008 22:09:04 +0000
parents e34c1002e553
children a1dcef8cd1ae
comparison
equal deleted inserted replaced
701:28af4b6dd9ef 702:e07895754e65
399 if (!base) base = default_path; 399 if (!base) base = default_path;
400 if (!base) base = homedir(); 400 if (!base) base = homedir();
401 401
402 if (path) 402 if (path)
403 { 403 {
404 fdlg->dest_path = concat_dir_and_file(base, path); 404 fdlg->dest_path = g_build_filename(base, path, NULL);
405 } 405 }
406 else 406 else
407 { 407 {
408 fdlg->dest_path = g_strdup(base); 408 fdlg->dest_path = g_strdup(base);
409 } 409 }