changeset 260:d973f9debe86

Fix Win32 compile error
author Konosuke Watanabe <sasugaanija@gmail.com>
date Wed, 03 Dec 2008 01:58:34 +0900
parents d45dd3589560
children e3076b5e059d
files main.c twitter_api.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main.c	Wed Dec 03 01:18:19 2008 +0900
+++ b/main.c	Wed Dec 03 01:58:34 2008 +0900
@@ -30,8 +30,8 @@
 static GList *wassr_parrot_list = NULL;
 static GList *identica_parrot_list = NULL;
 #ifdef _WIN32
-static gboolean blink_state = FALSE;
-static gboolean blink_modified = FALSE;
+gboolean blink_state = FALSE;
+gboolean blink_modified = FALSE;
 #endif
 
 source_t source;
--- a/twitter_api.c	Wed Dec 03 01:18:19 2008 +0900
+++ b/twitter_api.c	Wed Dec 03 01:58:34 2008 +0900
@@ -13,6 +13,10 @@
 static void get_status_with_api_cb(PurpleUtilFetchUrlData *url_data, gpointer user_data, const gchar *url_text, size_t len, const gchar *error_message);
 static void post_status_with_api_cb(PurpleUtilFetchUrlData *url_data, gpointer user_data, const gchar *url_text, size_t len, const gchar *error_message);
 
+#ifdef _WIN32
+extern gboolean blink_state;
+extern gboolean blink_modified;
+#endif
 
 /**************************/
 /* API base get functions */