diff options
author | Robin Gareus <robin@gareus.org> | 2014-04-14 15:04:50 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-04-14 15:04:50 +0200 |
commit | 56b93982089bcb93fe6a832bba4d981dc31476ea (patch) | |
tree | d33bca5c186dbb200352ed8bdc6deff7faabeaa0 /libs/fst | |
parent | 55bfe10fa6dc6136919fefd864760be4fb475d4d (diff) |
despite what MSVC thinks, C is not C++.
Diffstat (limited to 'libs/fst')
-rw-r--r-- | libs/fst/vstwin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/fst/vstwin.c b/libs/fst/vstwin.c index 37b6acd5e1..3c1cbcce8f 100644 --- a/libs/fst/vstwin.c +++ b/libs/fst/vstwin.c @@ -23,7 +23,6 @@ static unsigned int idle_id = 0; extern char * strdup (const char *); #include <glib.h> -#include <glibmm/miscutils.h> //basename #include "fst.h" struct ERect { @@ -493,7 +492,7 @@ fst_load (const char *path) char* period; fhandle->nameptr = strdup (path); fhandle->path = strdup (path); - fhandle->name = strdup (Glib::path_get_basename(fhandle->nameptr).c_str()); + fhandle->name = strdup (g_path_get_basename(fhandle->nameptr)); if ((period = strrchr (fhandle->name, '.'))) { *period = '\0'; } |