diff main.c @ 265:c2944685ac8e 0.8.1

- update README to meet 0.8.1. - little clean up.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 10 Dec 2008 15:46:30 +0900
parents e9a7c018a952
children 0926fa46afe0
line wrap: on
line diff
--- a/main.c	Thu Dec 04 18:24:06 2008 +0900
+++ b/main.c	Wed Dec 10 15:46:30 2008 +0900
@@ -24,8 +24,9 @@
 /* globals */
 /***********/
 GRegex *regp[NUM_REGPS];
+GHashTable *icon_hash[NUM_SERVICES];
+source_t source;
 static gboolean suppress_oops = FALSE;
-GHashTable *icon_hash[NUM_SERVICES];
 static GHashTable *conv_hash = NULL;
 static GList *wassr_parrot_list = NULL;
 static GList *identica_parrot_list = NULL;
@@ -34,8 +35,6 @@
 gboolean blink_modified = FALSE;
 #endif
 
-source_t source;
-
 /**************/
 /* prototypes */
 /**************/
@@ -60,7 +59,6 @@
 static void cancel_fetch_func(gpointer key, gpointer value, gpointer user_data);
 static gboolean displaying_im_cb(PurpleAccount *account, const char *who, char **message, PurpleConversation *conv, PurpleMessageFlags flags, void *data);
 static void displayed_im_cb(PurpleAccount *account, const char *who, char *message, PurpleConversation *conv, PurpleMessageFlags flags);
-
 #ifndef _WIN32
 extern gchar *sanitize_utf(const gchar *msg, gsize len, gsize *newlen) __attribute__ ((weak));
 #endif
@@ -69,11 +67,6 @@
 /*************/
 /* functions */
 /*************/
-
-
-/***********************/
-/* intrinsic functions */
-/***********************/
 static gboolean
 sending_im_cb(PurpleAccount *account, char *recipient, char **buffer,
               void *data)