Mercurial > pidgin
comparison src/main.c @ 7212:42ef0c41cefb
[gaim-migrate @ 7781]
Remove win32 opt_gdebug code and fix critical error which caused console to appear
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Thu, 09 Oct 2003 21:15:42 +0000 |
parents | 282887c9e3dc |
children | 643cbc9a6035 |
comparison
equal
deleted
inserted
replaced
7211:fab036092ca5 | 7212:42ef0c41cefb |
---|---|
81 int opt_away = 0; | 81 int opt_away = 0; |
82 int docklet_count = 0; | 82 int docklet_count = 0; |
83 char *opt_away_arg = NULL; | 83 char *opt_away_arg = NULL; |
84 char *opt_rcfile_arg = NULL; | 84 char *opt_rcfile_arg = NULL; |
85 int opt_debug = 0; | 85 int opt_debug = 0; |
86 #ifdef _WIN32 | |
87 int opt_gdebug = 0; | |
88 #endif | |
89 | 86 |
90 #if HAVE_SIGNAL_H | 87 #if HAVE_SIGNAL_H |
91 /* | 88 /* |
92 * Lists of signals we wish to catch and those we wish to ignore. | 89 * Lists of signals we wish to catch and those we wish to ignore. |
93 * Each list terminated with -1 | 90 * Each list terminated with -1 |
768 opterr = 1; | 765 opterr = 1; |
769 while ((opt = getopt_long(argc, argv, | 766 while ((opt = getopt_long(argc, argv, |
770 #ifndef _WIN32 | 767 #ifndef _WIN32 |
771 "adhu:f:vns:", | 768 "adhu:f:vns:", |
772 #else | 769 #else |
773 "adghu:f:vn", | 770 "adhu:f:vn", |
774 #endif | 771 #endif |
775 long_options, NULL)) != -1) { | 772 long_options, NULL)) != -1) { |
776 switch (opt) { | 773 switch (opt) { |
777 case 'u': /* set user */ | 774 case 'u': /* set user */ |
778 opt_user = 1; | 775 opt_user = 1; |
797 opt_help = 1; | 794 opt_help = 1; |
798 break; | 795 break; |
799 case 'n': /* don't autologin */ | 796 case 'n': /* don't autologin */ |
800 opt_nologin = 1; | 797 opt_nologin = 1; |
801 break; | 798 break; |
802 #ifdef _WIN32 | |
803 case 'g': /* debug GTK and GLIB */ | |
804 opt_gdebug = 1; | |
805 break; | |
806 #endif | |
807 case '?': | 799 case '?': |
808 default: | 800 default: |
809 show_usage(1, argv[0]); | 801 show_usage(1, argv[0]); |
810 return 0; | 802 return 0; |
811 break; | 803 break; |