changeset 10218:6071dfe17d14

[gaim-migrate @ 11346] I don't know why I did this, really. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 20 Nov 2004 18:57:59 +0000
parents 6f49ce1d394d
children f37516ae6a0b
files plugins/mailchk.c
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mailchk.c	Sat Nov 20 06:03:21 2004 +0000
+++ b/plugins/mailchk.c	Sat Nov 20 18:57:59 2004 +0000
@@ -1,16 +1,11 @@
 #include "internal.h"
 
-#include "blist.h"
-#include "conversation.h"
 #include "debug.h"
-#include "signals.h"
 #include "sound.h"
 #include "version.h"
 
 #include "gtkblist.h"
-#include "gtkgaim.h"
 #include "gtkplugin.h"
-#include "gtksound.h"
 
 #define MAILCHK_PLUGIN_ID "gtk-mailchk"
 
@@ -21,7 +16,8 @@
 static guint32 timer = 0;
 static GtkWidget *mail = NULL;
 
-static gint check_mail()
+static gint
+check_mail()
 {
 	static off_t oldsize = 0;
 	gchar *filename;
@@ -49,12 +45,14 @@
 	return ret;
 }
 
-static void destroy_cb()
+static void
+destroy_cb()
 {
 	mail = NULL;
 }
 
-static gboolean check_timeout(gpointer data)
+static gboolean
+check_timeout(gpointer data)
 {
 	gint count = check_mail();
 	GaimBuddyList *list = gaim_get_blist();
@@ -89,7 +87,8 @@
 	return TRUE;
 }
 
-static void signon_cb(GaimConnection *gc)
+static void
+signon_cb(GaimConnection *gc)
 {
 	GaimBuddyList *list = gaim_get_blist();
 	if (list && GAIM_IS_GTK_BLIST(list) && !timer) {
@@ -98,7 +97,8 @@
 	}
 }
 
-static void signoff_cb(GaimConnection *gc)
+static void
+signoff_cb(GaimConnection *gc)
 {
 	GaimBuddyList *list = gaim_get_blist();
 	if ((!list || !GAIM_IS_GTK_BLIST(list) || !GAIM_GTK_BLIST(list)->vbox) && timer) {