Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/src/main.c Sat Jun 14 21:34:31 2003 +0000 +++ b/src/main.c Sat Jun 14 23:21:02 2003 +0000 @@ -19,14 +19,50 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> +#include "internal.h" + +#include "account.h" +#include "conversation.h" +#include "debug.h" +#include "ft.h" +#include "log.h" +#include "notify.h" +#include "prefs.h" +#include "prpl.h" +#include "pounce.h" +#include "sound.h" +#include "util.h" + +//#include "gaim.h" + +#include "gtkaccount.h" +#include "gtkblist.h" +#include "gtkconn.h" +#include "gtkconv.h" +#include "gtkdebug.h" +#include "gtkft.h" +#include "gtknotify.h" +#include "gtkprefs.h" +#include "gtkrequest.h" +#include "gtksound.h" +#include "stock.h" + +#include "ui.h" + +#if HAVE_SIGNAL_H +# include <signal.h> #endif + +#include "locale.h" +#include <getopt.h> + +#if 0 #ifdef GAIM_PLUGINS -#ifndef _WIN32 -#include <dlfcn.h> -#endif +# ifndef _WIN32 +# include <dlfcn.h> +# endif #endif /* GAIM_PLUGINS */ + #include <gtk/gtk.h> #ifndef _WIN32 #include <gdk/gdkx.h> @@ -69,11 +105,14 @@ #ifdef _WIN32 #include "win32dep.h" #endif +#endif + +extern void load_prefs(); +extern void load_pounces(); static GtkWidget *name; static GtkWidget *pass; -GList *log_conversations = NULL; GSList *away_messages = NULL; GSList *message_queue = NULL; GSList *unread_message_queue = NULL; @@ -149,6 +188,7 @@ gtk_main_quit(); } + static guint snd_tmout = 0; static gboolean sound_timeout(gpointer data) {