mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Replace deprecated g_basename with g_path_get_basename.
This commit is contained in:
parent
c26a634fe6
commit
9d6cd87b0f
5 changed files with 16 additions and 15 deletions
|
|
@ -190,7 +190,7 @@ static char *script_file_get_name(const char *path)
|
|||
{
|
||||
char *name;
|
||||
|
||||
name = g_strdup(g_basename(path));
|
||||
name = g_path_get_basename(path);
|
||||
script_fix_name(name);
|
||||
return name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue