# HG changeset patch # User chainsaw # Date 1133706372 28800 # Node ID b30d0e16b961e7debfd2446665a6564056269f29 # Parent 085b94826d273c9d0e41029d1b8a129b823cca25 [svn] Do not discard pointer target type, and do not use deprecated g_basename function. diff -r 085b94826d27 -r b30d0e16b961 Plugins/Input/mikmod/plugin.c --- a/Plugins/Input/mikmod/plugin.c Sun Dec 04 06:01:40 2005 -0800 +++ b/Plugins/Input/mikmod/plugin.c Sun Dec 04 06:26:12 2005 -0800 @@ -282,7 +282,7 @@ ext = strrchr(temp, '.'); if (ext) *ext = '\0'; - input->file_name = g_basename(temp); + input->file_name = g_path_get_basename(temp); input->file_ext = ext ? ext+1 : NULL; input->file_path = temp;