diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-11-16 10:42:03 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-11-19 10:58:06 -0800 |
commit | 42f330cf9ef44aea7428a67d282dfb1a60196e55 (patch) | |
tree | fc95d19dc4bbc5036c994aba3f9b1400ac17a296 | |
parent | 19aac4274bbac55ce944acfaf3274a4403fe392e (diff) |
XQuartz: pbproxy: Remove thread-main.m
it got accidently added and isn't used.
(cherry picked from commit cb6ffce68a2d10022fa92725d2d1837da4b3b89f)
-rw-r--r-- | hw/xquartz/pbproxy/thread-main.m | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/hw/xquartz/pbproxy/thread-main.m b/hw/xquartz/pbproxy/thread-main.m deleted file mode 100644 index 02ff96b52..000000000 --- a/hw/xquartz/pbproxy/thread-main.m +++ /dev/null @@ -1,42 +0,0 @@ -/* app-main.m - $Id: main.m,v 1.29 2007-04-07 20:39:03 jharper Exp $ - - Copyright (c) 2002, 2008 Apple Computer, Inc. All rights reserved. */ - -#include "pbproxy.h" -#import "x-selection.h" - -#include <pthread.h> -#include <unistd.h> /*for getpid*/ -#include <Cocoa/Cocoa.h> - -static void signal_handler (int sig) { - switch(sig) { - case SIGHUP: - xpbproxy_prefs_reload = YES; - break; - default: - _exit(EXIT_SUCCESS); - } -} - -int main (int argc, const char *argv[]) { -#ifdef DEBUG - printf("pid: %u\n", getpid()); -#endif - - xpbproxy_is_standalone = YES; - - if(!xpbproxy_init()) - return EXIT_FAILURE; - - signal (SIGINT, signal_handler); - signal (SIGTERM, signal_handler); - signal (SIGHUP, signal_handler); - signal (SIGPIPE, SIG_IGN); - - [NSApplication sharedApplication]; - [NSApp run]; - - return EXIT_SUCCESS; -} |