update reloaded's configure.ac ( use AC_DEFINE consistently and fix CFLAGS ), fix SSE CFLAGS in veejay server's configure, fix many compiler warnings

This commit is contained in:
niels
2014-12-21 01:09:10 +01:00
parent 6e4d877685
commit 4d95229818
34 changed files with 171 additions and 58 deletions

View File

@@ -6637,8 +6637,10 @@ static void theme_response( gchar *string )
snprintf(theme_config,sizeof(theme_config), "%stheme.config", theme_dir );
snprintf(theme_file,sizeof(theme_file), "%s/%s/gveejay.rc", theme_dir, string );
int fd = open( theme_config , O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
if(fd > 0)
{
veejay_msg(VEEJAY_MSG_DEBUG, "Setting up theme %s in %s", string, theme_file );
write( fd, string, strlen(string));
close(fd);
vj_msg(VEEJAY_MSG_INFO, "Restart GveejayReloaded for changes to take effect");
@@ -6651,7 +6653,7 @@ static void theme_response( gchar *string )
}
else
{
vj_msg(VEEJAY_MSG_ERROR, "Unable to write to %s", theme_config );
vj_msg(VEEJAY_MSG_ERROR, "Unable to write to %s", theme_file );
}
}