]> git.pld-linux.org Git - packages/SystemPreferences.git/blame - SystemPreferences-initWithArgs.patch
- added
[packages/SystemPreferences.git] / SystemPreferences-initWithArgs.patch
CommitLineData
7b611d57 1diff -Nur SystemPreferences-1.0.2.orig/SystemPreferences/main.m SystemPreferences-1.0.2.initWithArgs/SystemPreferences/main.m
2--- SystemPreferences-1.0.2.orig/SystemPreferences/main.m 2007-11-04 13:25:08.000000000 -0700
3+++ SystemPreferences-1.0.2.initWithArgs/SystemPreferences/main.m 2008-11-19 21:33:59.000000000 -0700
4@@ -7,6 +7,10 @@
5 int main(int argc, char **argv, char** env)
6 {
7 CREATE_AUTORELEASE_POOL (pool);
8+#ifdef GS_PASS_ARGUMENTS
9+ [NSProcessInfo initializeWithArguments: argv count: argc environment:
10+env];
11+#endif
12 NSApplication *theApp = [NSApplication sharedApplication];
13 createMenu();
14 [theApp setDelegate: [SystemPreferences systemPreferences]];
This page took 0.066248 seconds and 4 git commands to generate.