pkgsrc/chat/xchat-systray-integration/patches/patch-al
minskim acb94c0b93 Do not define variables in headers; define them in .c files instead.
Otherwise, they cause link errors on Darwin.
2006-07-06 22:04:03 +00:00

33 lines
767 B
Text

$NetBSD: patch-al,v 1.1 2006/07/06 22:04:03 minskim Exp $
--- src/events.c.orig 2004-04-30 05:38:10.000000000 -0700
+++ src/events.c
@@ -1,5 +1,28 @@
//XChat Events Listener
#include "events.h"
+
+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;
+#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;
+#endif
+char* motivation;
+
/*
#ifndef _WIN32_
//notify icons