Make the standalone GUI build on Linux again

This commit is contained in:
Dave Vasilevsky 2013-04-05 17:30:23 -04:00
parent 7782a40f67
commit 47ec992f6d
2 changed files with 3 additions and 2 deletions

View File

@ -46,7 +46,8 @@ STANDALONE_GUI = @STANDALONE_GUI@
GUI_CFLAGS = @GUI_CFLAGS@
GUI_LIBS = @GUI_LIBS@
GUI_SRCS = ../prefs.cpp prefs_unix.cpp prefs_editor_gtk.cpp ../prefs_items.cpp \
../user_strings.cpp user_strings_unix.cpp xpram_unix.cpp sys_unix.cpp rpc_unix.cpp
../user_strings.cpp user_strings_unix.cpp xpram_unix.cpp sys_unix.cpp rpc_unix.cpp \
../dummy/prefs_dummy.cpp
# Append disassembler to dyngen, if available
ifneq (:no,$(MONSRCS):$(USE_DYNGEN))

View File

@ -1493,7 +1493,7 @@ int main(int argc, char *argv[])
gtk_init(&argc, &argv);
// Read preferences
PrefsInit(argc, argv);
PrefsInit(0, argc, argv);
// Show preferences editor
bool start = PrefsEditor();