acb94c0b93
Otherwise, they cause link errors on Darwin.
58 lines
1.5 KiB
Text
58 lines
1.5 KiB
Text
$NetBSD: patch-ac,v 1.1 2006/07/06 22:04:03 minskim Exp $
|
|
|
|
--- src/away_system.h.orig 2004-04-30 05:38:10.000000000 -0700
|
|
+++ src/away_system.h
|
|
@@ -3,31 +3,31 @@
|
|
|
|
#include "libs/traycoreengine.h"
|
|
|
|
-gboolean go_change;
|
|
-gboolean go_identify;
|
|
+extern gboolean go_change;
|
|
+extern gboolean go_identify;
|
|
#ifdef _WIN32_
|
|
- HICON pix_xchat_away;
|
|
- HICON pix_xchat;
|
|
+ extern HICON pix_xchat_away;
|
|
+ extern HICON pix_xchat;
|
|
#else
|
|
- GdkPixbuf *pix_xchat_away;
|
|
- GdkPixbuf *pix_xchat;
|
|
+ extern GdkPixbuf *pix_xchat_away;
|
|
+ extern GdkPixbuf *pix_xchat;
|
|
#endif
|
|
-gboolean global_away;
|
|
-gboolean global_away_temp;
|
|
-char away_msg1[150];
|
|
-char away_msg2[150];
|
|
-char away_msg3[150];
|
|
-char away_nick[150];
|
|
-char away_pass[150];
|
|
-const char* awaynick;
|
|
-const char* amsg1;
|
|
-const char* amsg2;
|
|
-const char* amsg3;
|
|
-const char* awaypass;
|
|
-gboolean edit;
|
|
-const char* message;
|
|
-GtkWidget *checkbutton3;
|
|
-GtkWidget *away_text,*away_nick_box,*away_nick_pass_box;
|
|
+extern gboolean global_away;
|
|
+extern gboolean global_away_temp;
|
|
+extern char away_msg1[150];
|
|
+extern char away_msg2[150];
|
|
+extern char away_msg3[150];
|
|
+extern char away_nick[150];
|
|
+extern char away_pass[150];
|
|
+extern const char* awaynick;
|
|
+extern const char* amsg1;
|
|
+extern const char* amsg2;
|
|
+extern const char* amsg3;
|
|
+extern const char* awaypass;
|
|
+extern gboolean edit;
|
|
+extern const char* message;
|
|
+extern GtkWidget *checkbutton3;
|
|
+extern GtkWidget *away_text,*away_nick_box,*away_nick_pass_box;
|
|
|
|
|
|
void get_label(GtkWidget *button, void *data);
|