diff options
author | Alexander Færøy <ahf@0x90.dk> | 2014-06-27 14:41:54 +0200 |
---|---|---|
committer | Alexander Færøy <ahf@0x90.dk> | 2014-06-27 14:41:54 +0200 |
commit | 113f1724d72724c1bb3e2111c0ce92a3cafd67fa (patch) | |
tree | 86f2619c8304a3b2743cb29b41ad32b83bf71517 /src/perl/perl-core.c | |
parent | b8c2915d79a1e0ccec92e627b716fe0a6af81fc6 (diff) | |
parent | 9d6cd87b0f548aba2094504c6ef71aec69f9d7fb (diff) | |
download | irssi-113f1724d72724c1bb3e2111c0ce92a3cafd67fa.zip |
Merge pull request #44 from dajohi/g_basename
Replace deprecated g_basename with g_path_get_basename.
Diffstat (limited to 'src/perl/perl-core.c')
-rw-r--r-- | src/perl/perl-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/perl-core.c b/src/perl/perl-core.c index 3b00ce18..ee0c845e 100644 --- a/src/perl/perl-core.c +++ b/src/perl/perl-core.c @@ -191,7 +191,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; } |