aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-01-12 10:12:04 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-01-12 10:12:04 +0800
commit7b509418a1d7e5d7824c85c0cd89b080be202a73 (patch)
treec3e369febf1761388dd334b387a05e7ce4c5ca08
parentbb94c723d1f3936e01aa9f7bd806984727369490 (diff)
downloadgsoc2013-evolution-7b509418a1d7e5d7824c85c0cd89b080be202a73.tar.gz
gsoc2013-evolution-7b509418a1d7e5d7824c85c0cd89b080be202a73.tar.zst
gsoc2013-evolution-7b509418a1d7e5d7824c85c0cd89b080be202a73.zip
initialise composer before using it. sigh.
2005-01-12 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (destroy): initialise composer before using it. sigh. svn path=/trunk/; revision=28362
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index dd4ef713c0..7f34d08ade 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-12 Not Zed <NotZed@Ximian.com>
+
+ * e-msg-composer.c (destroy): initialise composer before using it.
+ sigh.
+
2005-01-05 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (d): turn off debug, setup g private instance
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index e9772c62fa..20772a3afa 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2559,13 +2559,11 @@ composer_dispose(GObject *object)
static void
destroy (GtkObject *object)
{
- EMsgComposer *composer;
+ EMsgComposer *composer = (EMsgComposer *)object;
CORBA_Environment ev;
ESignatureList *signatures;
EMsgComposerPrivate *p = _PRIVATE(composer);
- composer = E_MSG_COMPOSER (object);
-
CORBA_exception_init (&ev);
if (p->menu) {