summaryrefslogtreecommitdiff
path: root/gui/LnxMain.c
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-27 19:27:08 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-08-27 19:27:08 +0000
commit43ebdb1bf5a2634299d7e277cb5fc0a6ced7b447 (patch)
treefc0be6b3c64d860bd3201a04edc408112978cd06 /gui/LnxMain.c
parentf831a964c1dd594200cbd9189ec7ac7a8b1017f8 (diff)
downloadpcsxr-43ebdb1bf5a2634299d7e277cb5fc0a6ced7b447.tar.gz
small gtk gui fix;
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86978 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'gui/LnxMain.c')
-rwxr-xr-xgui/LnxMain.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gui/LnxMain.c b/gui/LnxMain.c
index e9b042c2..023785e6 100755
--- a/gui/LnxMain.c
+++ b/gui/LnxMain.c
@@ -354,7 +354,7 @@ int main(int argc, char *argv[]) {
strcpy(Config.Net, "Disabled");
- if (UseGui) gtk_init(NULL, NULL);
+ if (UseGui) gtk_init(&argc, &argv);
CheckSubDir();
ScanAllPlugins();
@@ -378,8 +378,6 @@ int main(int argc, char *argv[]) {
strcpy(Config.PluginsDir, str_plugin_dir);
g_free(str_plugin_dir);
- gtk_init(NULL, NULL);
-
// Update available plugins, but not GUI
UpdatePluginsBIOS();