Mercurial > pidgin
comparison src/main.c @ 5872:059d95c67cda
[gaim-migrate @ 6304]
The legendary Header File Cleanup! Files now only include what they need.
This should reduce the number of files that must recompile when a header
file changes. It's a lot nicer. Trust me on it. I also added a couple new
header files. I hope I didn't break TOO much!
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 14 Jun 2003 23:21:02 +0000 |
parents | d6b5cab288bb |
children | 964e4f94fc56 |
comparison
equal
deleted
inserted
replaced
5871:508adf90fbb9 | 5872:059d95c67cda |
---|---|
17 * along with this program; if not, write to the Free Software | 17 * along with this program; if not, write to the Free Software |
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 * | 19 * |
20 */ | 20 */ |
21 | 21 |
22 #ifdef HAVE_CONFIG_H | 22 #include "internal.h" |
23 #include <config.h> | 23 |
24 #endif | 24 #include "account.h" |
25 #include "conversation.h" | |
26 #include "debug.h" | |
27 #include "ft.h" | |
28 #include "log.h" | |
29 #include "notify.h" | |
30 #include "prefs.h" | |
31 #include "prpl.h" | |
32 #include "pounce.h" | |
33 #include "sound.h" | |
34 #include "util.h" | |
35 | |
36 //#include "gaim.h" | |
37 | |
38 #include "gtkaccount.h" | |
39 #include "gtkblist.h" | |
40 #include "gtkconn.h" | |
41 #include "gtkconv.h" | |
42 #include "gtkdebug.h" | |
43 #include "gtkft.h" | |
44 #include "gtknotify.h" | |
45 #include "gtkprefs.h" | |
46 #include "gtkrequest.h" | |
47 #include "gtksound.h" | |
48 #include "stock.h" | |
49 | |
50 #include "ui.h" | |
51 | |
52 #if HAVE_SIGNAL_H | |
53 # include <signal.h> | |
54 #endif | |
55 | |
56 #include "locale.h" | |
57 #include <getopt.h> | |
58 | |
59 #if 0 | |
25 #ifdef GAIM_PLUGINS | 60 #ifdef GAIM_PLUGINS |
26 #ifndef _WIN32 | 61 # ifndef _WIN32 |
27 #include <dlfcn.h> | 62 # include <dlfcn.h> |
28 #endif | 63 # endif |
29 #endif /* GAIM_PLUGINS */ | 64 #endif /* GAIM_PLUGINS */ |
65 | |
30 #include <gtk/gtk.h> | 66 #include <gtk/gtk.h> |
31 #ifndef _WIN32 | 67 #ifndef _WIN32 |
32 #include <gdk/gdkx.h> | 68 #include <gdk/gdkx.h> |
33 #include <unistd.h> | 69 #include <unistd.h> |
34 #include <sys/socket.h> | 70 #include <sys/socket.h> |
67 #include <getopt.h> | 103 #include <getopt.h> |
68 | 104 |
69 #ifdef _WIN32 | 105 #ifdef _WIN32 |
70 #include "win32dep.h" | 106 #include "win32dep.h" |
71 #endif | 107 #endif |
108 #endif | |
109 | |
110 extern void load_prefs(); | |
111 extern void load_pounces(); | |
72 | 112 |
73 static GtkWidget *name; | 113 static GtkWidget *name; |
74 static GtkWidget *pass; | 114 static GtkWidget *pass; |
75 | 115 |
76 GList *log_conversations = NULL; | |
77 GSList *away_messages = NULL; | 116 GSList *away_messages = NULL; |
78 GSList *message_queue = NULL; | 117 GSList *message_queue = NULL; |
79 GSList *unread_message_queue = NULL; | 118 GSList *unread_message_queue = NULL; |
80 GSList *away_time_queue = NULL; | 119 GSList *away_time_queue = NULL; |
81 | 120 |
146 #endif | 185 #endif |
147 | 186 |
148 /* and end it all... */ | 187 /* and end it all... */ |
149 gtk_main_quit(); | 188 gtk_main_quit(); |
150 } | 189 } |
190 | |
151 | 191 |
152 static guint snd_tmout = 0; | 192 static guint snd_tmout = 0; |
153 static gboolean sound_timeout(gpointer data) | 193 static gboolean sound_timeout(gpointer data) |
154 { | 194 { |
155 gaim_gtk_sound_set_login_mute(FALSE); | 195 gaim_gtk_sound_set_login_mute(FALSE); |