Mercurial > audlegacy
comparison audacious/main.c @ 2003:74f280120233 trunk
[svn] - init plugins before initalizing the skin system.
author | nenolod |
---|---|
date | Thu, 23 Nov 2006 23:29:34 -0800 |
parents | 136de2662c91 |
children | d3a62e1075e2 |
comparison
equal
deleted
inserted
replaced
2002:c97cd4a8c470 | 2003:74f280120233 |
---|---|
1078 if (options.session != -1 || !ctrlsocket_setup()) { | 1078 if (options.session != -1 || !ctrlsocket_setup()) { |
1079 handle_cmd_line_options(&options, TRUE); | 1079 handle_cmd_line_options(&options, TRUE); |
1080 exit(EXIT_SUCCESS); | 1080 exit(EXIT_SUCCESS); |
1081 } | 1081 } |
1082 | 1082 |
1083 plugin_system_init(); | |
1084 | |
1083 if (options.headless != 1) | 1085 if (options.headless != 1) |
1084 { | 1086 { |
1085 | 1087 |
1086 bmp_set_default_icon(); | 1088 bmp_set_default_icon(); |
1087 | 1089 |
1092 exit(EXIT_FAILURE); | 1094 exit(EXIT_FAILURE); |
1093 } | 1095 } |
1094 | 1096 |
1095 GDK_THREADS_ENTER(); | 1097 GDK_THREADS_ENTER(); |
1096 } | 1098 } |
1097 | |
1098 plugin_system_init(); | |
1099 | 1099 |
1100 playlist_load(bmp_paths[BMP_PATH_PLAYLIST_FILE]); | 1100 playlist_load(bmp_paths[BMP_PATH_PLAYLIST_FILE]); |
1101 playlist_set_position(cfg.playlist_position); | 1101 playlist_set_position(cfg.playlist_position); |
1102 | 1102 |
1103 /* this needs to be called after all 3 windows are created and | 1103 /* this needs to be called after all 3 windows are created and |