aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-04-03 20:15:33 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-04-03 20:15:33 +0800
commit7415694be725694f8f6fc6484aeca81974ab24ba (patch)
tree3553e8ce15b1139ff2a970be3ca1c811683d63b9
parentd428c052b502020ff94d2b431c6105159a920124 (diff)
downloadgsoc2013-evolution-7415694be725694f8f6fc6484aeca81974ab24ba.tar.gz
gsoc2013-evolution-7415694be725694f8f6fc6484aeca81974ab24ba.tar.zst
gsoc2013-evolution-7415694be725694f8f6fc6484aeca81974ab24ba.zip
Don't #include <composer/e-msg-composer.h> since we don't install that
2007-04-03 Matthew Barnes <mbarnes@redhat.com> * mail/em-event.h: Don't #include <composer/e-msg-composer.h> since we don't install that file. Doing so prevents third-party applications like mail-notification from building. (#400241) svn path=/trunk/; revision=33375
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/em-event.c1
-rw-r--r--mail/em-event.h6
3 files changed, 10 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index edc0006f28..065ccb9f19 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2007-04-03 Matthew Barnes <mbarnes@redhat.com>
+
+ * em-event.h: Don't #include <composer/e-msg-composer.h> since we
+ don't install that file. Doing so prevents third-party applications
+ like mail-notification from building. (#400241)
+
2007-04-03 Srinivasa Ragavan <sragavan@novell.com>
Reworked the SPAM plugins with more UI options and support for
diff --git a/mail/em-event.c b/mail/em-event.c
index 228fcf78db..0fae713277 100644
--- a/mail/em-event.c
+++ b/mail/em-event.c
@@ -30,6 +30,7 @@
#include <glib.h>
#include "em-event.h"
+#include "composer/e-msg-composer.h"
#include "libedataserver/e-msgport.h"
#include <e-util/e-icon-factory.h>
diff --git a/mail/em-event.h b/mail/em-event.h
index 59171746f2..34ad09b6fd 100644
--- a/mail/em-event.h
+++ b/mail/em-event.h
@@ -26,7 +26,6 @@
#include <glib-object.h>
#include "e-util/e-event.h"
-#include "composer/e-msg-composer.h"
#ifdef __cplusplus
extern "C" {
@@ -35,6 +34,7 @@ extern "C" {
struct _CamelFolder;
struct _CamelMimeMessage;
+struct _EMsgComposer;
typedef struct _EMEvent EMEvent;
typedef struct _EMEventClass EMEventClass;
@@ -82,7 +82,7 @@ typedef struct _EMEventTargetComposer EMEventTargetComposer;
struct _EMEventTargetComposer {
EEventTarget target;
- EMsgComposer *composer;
+ struct _EMsgComposer *composer;
};
typedef struct _EEventItem EMEventItem;
@@ -103,7 +103,7 @@ GType em_event_get_type(void);
EMEvent *em_event_peek(void);
EMEventTargetFolder *em_event_target_new_folder(EMEvent *emp, const char *uri, guint32 flags);
-EMEventTargetComposer *em_event_target_new_composer(EMEvent *emp, const EMsgComposer *composer, guint32 flags);
+EMEventTargetComposer *em_event_target_new_composer(EMEvent *emp, const struct _EMsgComposer *composer, guint32 flags);
EMEventTargetMessage *em_event_target_new_message(EMEvent *emp, struct _CamelFolder *folder, struct _CamelMimeMessage *message, const char *uid, guint32 flags);
/* ********************************************************************** */