diff options
author | David Hill <dhill@conformal.com> | 2014-06-16 11:45:26 -0400 |
---|---|---|
committer | David Hill <dhill@conformal.com> | 2014-06-22 20:39:35 -0400 |
commit | 9d6cd87b0f548aba2094504c6ef71aec69f9d7fb (patch) | |
tree | 1397cb67399b24c9d0213de5d2074bb6ebeab306 /src/perl/perl-core.c | |
parent | c26a634fe6f65f44cdd036d2657fe4335ed6e309 (diff) | |
download | irssi-9d6cd87b0f548aba2094504c6ef71aec69f9d7fb.zip |
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 08d0738c..c487c393 100644 --- a/src/perl/perl-core.c +++ b/src/perl/perl-core.c @@ -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; } |