summaryrefslogtreecommitdiff
path: root/chat/xchat-systray-integration/patches/patch-ak
blob: ea8f5de8e1d25805b99e6c9efbdb4aebc7d339be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
$NetBSD: patch-ak,v 1.1 2006/07/06 22:04:03 minskim Exp $

--- src/events.h.orig	2004-04-30 05:38:10.000000000 -0700
+++ src/events.h
@@ -5,25 +5,25 @@
 #include "libs/traycoreengine.h"
 #include "data_manager.h"
 
-gint flash_id;
+extern gint flash_id;
 #ifndef _WIN32_
-	GdkPixbuf *icontype;
-	GdkPixbuf *pix_xchat_red;
-	GdkPixbuf *pix_xchat_blue;
-	GdkPixbuf *pix_xchat_dcc;
-	GdkPixbuf *pix_xchat_disc;
-	GdkPixbuf *pix_xchat_inv;
-	GdkPixbuf *pix_xchat_notin;
-	GdkPixbuf *pix_xchat_notout;
+	extern GdkPixbuf *icontype;
+	extern GdkPixbuf *pix_xchat_red;
+	extern GdkPixbuf *pix_xchat_blue;
+	extern GdkPixbuf *pix_xchat_dcc;
+	extern GdkPixbuf *pix_xchat_disc;
+	extern GdkPixbuf *pix_xchat_inv;
+	extern GdkPixbuf *pix_xchat_notin;
+	extern GdkPixbuf *pix_xchat_notout;
 #else
-	HICON icontype;
-        HICON pix_xchat_red;
-        HICON pix_xchat_blue;
-        HICON pix_xchat_dcc;
-        HICON pix_xchat_disc;
-        HICON pix_xchat_inv;
-        HICON pix_xchat_notin;
-        HICON pix_xchat_notout;
+	extern HICON icontype;
+        extern HICON pix_xchat_red;
+        extern HICON pix_xchat_blue;
+        extern HICON pix_xchat_dcc;
+        extern HICON pix_xchat_disc;
+        extern HICON pix_xchat_inv;
+        extern HICON pix_xchat_notin;
+        extern HICON pix_xchat_notout;
 #endif
 
 
@@ -41,7 +41,7 @@ int noti_hilight_cb(char *word[], void *
 void flash_stop();
 void flash_start();
 gboolean flash_timeout(gpointer userdata);
-char* motivation;
+extern char* motivation;
 
 #endif