changeset 24:b8573e2e5ea0

Ok... so... that #define was used to prevent errors when compiling in the resources with GTK. Changed the name of the define and readded it to dmail.h.
author Brian Smith <brian@dbsoft.org>
date Sat, 07 May 2011 01:16:34 -0500
parents 93688b908c5e
children 464f34ef1dc0
files dmail.h gtk/resources.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dmail.h	Sat May 07 01:13:05 2011 -0500
+++ b/dmail.h	Sat May 07 01:16:34 2011 -0500
@@ -66,6 +66,7 @@
 
 #define ACCOUNT_MAX   20
 
+#ifndef DW_RESOURCE_FILE
 typedef struct {
 	int                Type;
 	Account*           Acc;
@@ -108,4 +109,5 @@
 AccountInfo *findaccount(void *opaque);
 
 #endif
+#endif
 
--- a/gtk/resources.c	Sat May 07 01:13:05 2011 -0500
+++ b/gtk/resources.c	Sat May 07 01:16:34 2011 -0500
@@ -1,4 +1,4 @@
-#define DW_RESOURCE
+#define DW_RESOURCE_FILE
 
 /* XPMs */
 #include "FILE.xpm"