aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-10-01 00:26:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-10-01 00:26:55 +0800
commit3bafed7094c003733bf21a476a47edfeffe9350c (patch)
tree972ba9767f9071aefc3b4ddbdbdd4df083ab2459
parent983bea9996458f5b5f03e22b22ebd1a5203b7180 (diff)
downloadgsoc2013-evolution-3bafed7094c003733bf21a476a47edfeffe9350c.tar
gsoc2013-evolution-3bafed7094c003733bf21a476a47edfeffe9350c.tar.gz
gsoc2013-evolution-3bafed7094c003733bf21a476a47edfeffe9350c.tar.bz2
gsoc2013-evolution-3bafed7094c003733bf21a476a47edfeffe9350c.tar.lz
gsoc2013-evolution-3bafed7094c003733bf21a476a47edfeffe9350c.tar.xz
gsoc2013-evolution-3bafed7094c003733bf21a476a47edfeffe9350c.tar.zst
gsoc2013-evolution-3bafed7094c003733bf21a476a47edfeffe9350c.zip
No need to track open composer windows either.
-rw-r--r--composer/e-msg-composer.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 5561623f61..2450212bd9 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -104,9 +104,6 @@ gboolean composer_lite = FALSE;
static gpointer parent_class;
static guint signals[LAST_SIGNAL];
-/* All the composer windows open, for bookkeeping purposes. */
-static GSList *all_composers = NULL;
-
/* local prototypes */
static GList *add_recipients (GList *list, const gchar *recips);
@@ -1523,8 +1520,6 @@ msg_composer_destroy (GtkObject *object)
{
EMsgComposer *composer = E_MSG_COMPOSER (object);
- all_composers = g_slist_remove (all_composers, object);
-
if (composer->priv->address_dialog != NULL) {
gtk_widget_destroy (composer->priv->address_dialog);
composer->priv->address_dialog = NULL;
@@ -2096,7 +2091,6 @@ msg_composer_init (EMsgComposer *composer)
html = gtkhtml_editor_get_html (editor);
ui_manager = gtkhtml_editor_get_ui_manager (editor);
view = e_msg_composer_get_attachment_view (composer);
- all_composers = g_slist_prepend (all_composers, composer);
table = E_COMPOSER_HEADER_TABLE (composer->priv->header_table);
gtk_window_set_title (GTK_WINDOW (composer), _("Compose Message"));