# HG changeset patch # User chainsaw # Date 1134784099 28800 # Node ID 4f42c8bcf1864454e3e97f8a2c7d2c4c8aaaba1e # Parent 6862a829540c1f6b633aa836b70cfb1a8f7ec6ca [svn] Squash all 4 warnings in xmms-timidity.c diff -r 6862a829540c -r 4f42c8bcf186 Plugins/Input/timidity/src/xmms-timidity.c --- a/Plugins/Input/timidity/src/xmms-timidity.c Fri Dec 16 17:34:26 2005 -0800 +++ b/Plugins/Input/timidity/src/xmms-timidity.c Fri Dec 16 17:48:19 2005 -0800 @@ -205,7 +205,7 @@ } void xmmstimid_conf_ok(GtkButton *button, gpointer user_data) { - gchar *config_file, *filename; + gchar *filename; ConfigFile *cf; g_free(xmmstimid_cfg.config_file); @@ -301,8 +301,8 @@ } g_free(buffer); - g_thread_exit(NULL); + return(NULL); } static gchar *xmmstimid_get_title(gchar *filename) { @@ -320,7 +320,7 @@ if (temp2) *temp2 = '\0'; - input->file_name = g_basename(filename); + input->file_name = g_path_get_basename(filename); input->file_ext = ext ? ext+1 : NULL; input->file_path = g_strdup_printf("%s/", path);