On 05/04/11 11:00, Sebastian Reitenbach wrote:
> Hi,
>
> I also tried LapisPuzzle, but this one even doesn't open a window. I have
> windowmaker and gworkspace running. On the right side in the gworkspace
> application dock I see the red dot appearing, but there is no window opening,
> no mini icon in the windowmaker doc, nor a menu. The backtrace looks like the
> following:
>
attached patch fixes the problem for me, took me a while to figure this
out, but its more or less copied from gshisen.
Sebastian
$OpenBSD$
fix startup
--- main.m.orig Tue Jul 20 02:52:16 2004
+++ main.m Wed May 4 17:42:41 2011
@@ -21,11 +21,7 @@
#include <AppKit/AppKit.h>
-int main(int argc, char **argv)
+int main(int argc, const char **argv)
{
- NSAutoreleasePool *pool = [NSAutoreleasePool new];
- [NSApplication sharedApplication];
- [NSApp run];
- [pool release];
- return 0;
+ return NSApplicationMain (argc, argv);
}
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep