aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-17 04:54:07 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-17 04:54:07 +0800
commit7054bd6586285a9d8c8e7b3e02c67c5c69bc85e7 (patch)
treecefe53d5196057e5a452d7293253294ccd627746
parent01435199611a59f028c9093ab0cc476bad70fcc5 (diff)
downloadgsoc2013-evolution-7054bd6586285a9d8c8e7b3e02c67c5c69bc85e7.tar.gz
gsoc2013-evolution-7054bd6586285a9d8c8e7b3e02c67c5c69bc85e7.tar.zst
gsoc2013-evolution-7054bd6586285a9d8c8e7b3e02c67c5c69bc85e7.zip
Don't gtk_object_destroy() the pixbuf loader, unref it instead.
2001-09-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (update): Don't gtk_object_destroy() the pixbuf loader, unref it instead. * e-msg-composer-hdrs.c (destroy): Don't forget to free the private structure. svn path=/trunk/; revision=12862
-rw-r--r--composer/ChangeLog8
-rw-r--r--composer/e-msg-composer-attachment-bar.c2
-rw-r--r--composer/e-msg-composer-hdrs.c18
-rw-r--r--composer/e-msg-composer.c7
4 files changed, 22 insertions, 13 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 6e11fee62e..5703d17db0 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,11 @@
+2001-09-16 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-msg-composer-attachment-bar.c (update): Don't
+ gtk_object_destroy() the pixbuf loader, unref it instead.
+
+ * e-msg-composer-hdrs.c (destroy): Don't forget to free the
+ private structure.
+
2001-09-14 Ettore Perazzoli <ettore@ximian.com>
[Automake 1.5 fixes pointed out by Richard Boulton
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c
index 3e454cd8b8..d5ae665af1 100644
--- a/composer/e-msg-composer-attachment-bar.c
+++ b/composer/e-msg-composer-attachment-bar.c
@@ -324,7 +324,7 @@ update (EMsgComposerAttachmentBar *bar)
/* Destroy everything */
gdk_pixbuf_loader_close (loader);
- gtk_object_destroy (GTK_OBJECT (loader));
+ gtk_object_unref (GTK_OBJECT (loader));
camel_stream_close (mstream);
}
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 231c036e90..90bbddd941 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -517,6 +517,8 @@ destroy (GtkObject *object)
}
g_slist_free (priv->from_options);
+ g_free (priv);
+
if (GTK_OBJECT_CLASS (parent_class)->destroy != NULL)
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);
}
@@ -963,7 +965,7 @@ e_msg_composer_hdrs_get_recipients (EMsgComposerHdrs *hdrs)
EDestination **cc_destv;
EDestination **bcc_destv;
EDestination **recip_destv;
- gint i, j, N;
+ gint i, j, n;
g_return_val_if_fail (E_IS_MSG_COMPOSER_HDRS (hdrs), NULL);
@@ -971,16 +973,16 @@ e_msg_composer_hdrs_get_recipients (EMsgComposerHdrs *hdrs)
cc_destv = e_msg_composer_hdrs_get_cc (hdrs);
bcc_destv = e_msg_composer_hdrs_get_bcc (hdrs);
- N = 0;
+ n = 0;
- for (i = 0; to_destv && to_destv[i] != NULL; ++i, ++N);
- for (i = 0; cc_destv && cc_destv[i] != NULL; ++i, ++N);
- for (i = 0; bcc_destv && bcc_destv[i] != NULL; ++i, ++N);
+ for (i = 0; to_destv && to_destv[i] != NULL; ++i, ++n);
+ for (i = 0; cc_destv && cc_destv[i] != NULL; ++i, ++n);
+ for (i = 0; bcc_destv && bcc_destv[i] != NULL; ++i, ++n);
- if (N == 0)
+ if (n == 0)
return NULL;
- recip_destv = g_new (EDestination *, N+1);
+ recip_destv = g_new (EDestination *, n+1);
j = 0;
@@ -991,7 +993,7 @@ e_msg_composer_hdrs_get_recipients (EMsgComposerHdrs *hdrs)
for (i = 0; bcc_destv && bcc_destv[i] != NULL; ++i, ++j)
recip_destv[j] = bcc_destv[i];
- g_assert (j == N);
+ g_assert (j == n);
recip_destv[j] = NULL;
g_free (to_destv);
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 62235127a7..e8ce7d6844 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2631,10 +2631,9 @@ e_msg_composer_new_with_message (CamelMimeMessage *msg)
Bcc = g_list_append (Bcc, dest);
}
}
-
+
Bccv = e_destination_list_to_vector (Bcc);
g_list_free (Bcc);
-
/* Restore the Account preference */
account_name = camel_medium_get_header (CAMEL_MEDIUM (msg), "X-Evolution-Account");
@@ -2645,7 +2644,7 @@ e_msg_composer_new_with_message (CamelMimeMessage *msg)
}
e_msg_composer_set_headers (new, account_name, Tov, Ccv, Bccv, subject);
-
+
e_destination_freev (Tov);
e_destination_freev (Ccv);
e_destination_freev (Bccv);
@@ -2712,7 +2711,7 @@ e_msg_composer_new_with_message (CamelMimeMessage *msg)
g_free (text);
}
}
-
+
return new;
}
span title='2007-04-13 21:03:49 +0800'>2007-04-131-1/+1 * - Fix typo, PORTREVISION, not PORTREVERSION, my fault, sorrylwhsu2007-04-121-1/+1 * Take over.maho2007-04-121-1/+1 * 2007-03-27 emulators/kmamerun: Project was abandoned 4 years ago and expects ...miwi2007-04-116-108/+0 * - Update to 1.0.7lwhsu2007-04-107-23/+28 * science/netcdflwhsu2007-04-1016-135/+46 * - Update to 0.6.9pav2007-04-102-5/+5 * - Update to 0.6.5pav2007-04-105-9/+7 * - Remove old Perl support from unmaintained ports in categories startinggabor2007-04-061-4/+0 * . Drop maintainership of these ports. Its glaringly obvious that I don'tglewis2007-04-043-3/+3 * Does not build with jdk 1.4 either, so mark BROKENkris2007-04-041-0/+2 * . Update MASTER_SITES (fixes fetch).glewis2007-04-041-1/+1 * - Correctly define PORTDOCS to fix libsvm-python buildrafan2007-04-031-4/+5 * Reset ko@nest.irfu.se due to timeouts and no response to email.linimon2007-04-021-1/+1 * Configure fails to recognize jdk 1.5, so try limiting it to 1.4.kris2007-04-021-1/+1 * - Update to 2.84rafan2007-04-016-47/+49 * The CFD General Notation System (CGNS) provides a standard for recording andthierry2007-04-017-0/+107 * - add mirror siteclsung2007-03-301-1/+3 * - Fix after objformat removalpav2007-03-291-0/+1 * - Fix after objformat removalpav2007-03-282-6/+7 * - Switch to goffice1, which was just resurrectedpav2007-03-261-6/+2 * - Mark BROKEN for now: this release no longer works with new goffice, andpav2007-03-251-4/+4 * Fix build with gcc42 (specialization after instantiation).thierry2007-03-243-7/+101 * Chase the goffice shared lib version.marcus2007-03-221-1/+2 * - Update to 1.5.1miwi2007-03-212-4/+4 * - Update to 2.5miwi2007-03-164-19/+72 * Temporary place distfile at maho/public_distdir.maho2007-03-161-5/+2 * Reset chizhang@uchicago.edu due to maintainer-timeouts and no response to email.linimon2007-03-141-1/+1 * Upgrade to 3.3.0.thierry2007-03-143-95/+153 * GAMESS is freely available ab-initio molecular orbitalmaho2007-03-1312-0/+841 * Fix build by renaming libcolamd.a to libcolamd_mbdyn.a.maho2007-03-092-2/+115 * - Change maintainer mail.jmelo2007-03-092-2/+2 * - Update mastersite.jmelo2007-03-082-2/+2 * - Update to 0.47clsung2007-03-082-4/+4 * Build fix.maho2007-03-063-10/+24 * - Add missing patch in last commitrafan2007-03-042-0/+21 * - Update to 2.2.6rafan2007-03-013-588/+1869 * - Fix my MAINTAINER e-maildb2007-02-271-3/+11 * - Update to 5.3.1miwi2007-02-272-6/+5 * - Fixed support for new gfortranmiwi2007-02-271-0/+5 * Better support of CPU optimization. This should also fixesmaho2007-02-251-7/+52 * A possible fix for fenner's distfile survey.maho2007-02-251-0/+4 * - update to 0.5.4clsung2007-02-242-4/+4 * elmer-eio implicitly depends on gfortran42. Accordingly, this also fixesmaho2007-02-211-0/+2 * Build fix for mpqc-mpich.maho2007-02-191-2/+5 * Fix build.maho2007-02-193-22/+104 * - Update to 5.3.2miwi2007-02-152-4/+4 * - Update to 0.46clsung2007-02-142-4/+4 * Fix pkg-plist.maho2007-02-142-0/+3 * Now WITH_ATLAS, WITH_BLAS knobs work correctly.maho2007-02-141-2/+5 * - Remove QTDIR from CONFIGURE_ENV, it's in there already thanks to frameworkpav2007-02-131-1/+1 * Now pkg-plist for ${PREFIX}/share/mpqc part is generatedmaho2007-02-123-6952/+13 * - Fixed build after objformat removalnivit2007-02-112-2/+12 * Somehow the documents are not generated on pointyhat build.maho2007-02-101-3/+3 * - Update to 2.4miwi2007-02-092-4/+4 * Use libtool port instead of included version to avoid objformat a.out botchkris2007-02-016-0/+7 * To deprecate shells/bash2, dependency has been changed to bash.maho2007-02-011-1/+1 * In preparation to deprecate shells/bash2:bsam2007-02-011-1/+1 * - add category gnustepdinoex2007-02-012-2/+2 * Retire NO_FILTER_SHLIBS now that it no longer serves a purposekris2007-01-302-2/+0 * Fix pkg-plist.maho2007-01-291-0/+1 * Fix build.maho2007-01-291-1/+1 * Update to 5.3.0itetcu2007-01-282-5/+4 * update version to 5.3.0itetcu2007-01-282-5/+4 * update to 5.3.0itetcu2007-01-272-4/+4 * - update MASTER SITEitetcu2007-01-271-2/+2 * update to 5.3.0itetcu2007-01-272-4/+4 * Use libtool port instead of included one to avoid objformat a.out botchkris2007-01-271-0/+1 * - update MASTER SITEitetcu2007-01-272-7/+6 * . Update website.glewis2007-01-241-1/+1 * Forgot to remove patch.maho2007-01-241-103/+0 * * remove unnecessary patchmaho2007-01-241-1/+1 * - Fix fetchpav2007-01-241-1/+2 * More build logs for build fix at pointyhat.maho2007-01-231-7/+6 * A possible build fix(on pointyhat?)maho2007-01-221-4/+3 * - Update to 2.3rafan2007-01-223-8/+16 * - update MASTER_SITE subdiritetcu2007-01-211-6/+4 * - fix MASTER_SITES pathitetcu2007-01-211-2/+2 * - fix MASTER_SITES pathitetcu2007-01-211-2/+2 * - fix MASTER_SITES pathitetcu2007-01-211-2/+2 * - update version to 5.2.3itetcu2007-01-212-7/+6 * - Chase blas/lapack/atlas library versionrafan2007-01-192-6/+6 * * Migrate to gfortran.maho2007-01-183-11/+24 * - Update to 2.18.20061212rafan2007-01-174-40/+24 * Master_sites are often down, mirror distfiles locally.thierry2007-01-171-1/+3 * * Migrate to gfortran.maho2007-01-175-2/+385 * * Migrate to gfortran.maho2007-01-171-2/+8 * * Migrate to gfortran.maho2007-01-171-4/+11 * * Some fixes.maho2007-01-173-21/+28 * * Update to 5.2.4maho2007-01-175-393/+449 * * Migrate to gfortran.maho2007-01-171-6/+23 * Add missing dependency for cblas.maho2007-01-171-1/+1 * * Migrate to gfortran.maho2007-01-174-5/+153 * change ${LOCALBASE}/bin/${FC} to ${F77}.maho2007-01-161-1/+1 * MASTER_SITE and WWW have been moved.maho2007-01-162-2/+2 * * Build fix [1]maho2007-01-161-4/+4 * Using only gfortran42. not usng gcc41.maho2007-01-161-2/+6 * * Use only gfortran42. not gcc42.maho2007-01-162-21/+35 * Fix automatic detection of WITH_ATLAS.maho2007-01-161-2/+3 * correct the place of <bsd.port.pre.mk>maho2007-01-151-2/+3 * Fix typomaho2007-01-131-1/+1 * * Migrate to gfortran.maho2007-01-131-0/+6 * - update to use new bsd.gnustep.mkdinoex2007-01-132-7/+5 * * Migrate to gfortran.maho2007-01-131-10/+17 * * Migrate to gfortran.maho2007-01-131-1/+5 * Remove -v in CC and CXX.maho2007-01-121-2/+2 * * Only use gfrotran42. not using gcc42.maho2007-01-121-3/+5 * * Migrate to gfortran.maho2007-01-124-82/+162 * migrate to gfortran42.maho2007-01-121-1/+9 * Remove USE_GCC line as it is not necessary.maho2007-01-121-1/+0 * Remove gfortran dependency. it is not used actually.maho2007-01-121-2/+1 * * Use gfortran42 only and not gcc42.maho2007-01-121-3/+6 * Remove gfortran dependency as it is not necessary.maho2007-01-121-2/+0 * * Use gfortran42 only and not gcc42.maho2007-01-122-6/+10 * Update to 1.03mat2007-01-122-4/+4 * Migrate to gfortran42.maho2007-01-113-9/+35 * remove unnecessary dirijliao2007-01-111-0/+1 * * Migrate to gfortran.maho2007-01-111-11/+13 * Buildable with gcc42 (still USE_GCC=3.2 is used though)maho2007-01-111-0/+11 * * Migrate to gfortran.maho2007-01-111-2/+4 * Migrate to gfortran42.maho2007-01-101-4/+5 * * change to USE_GCC=4.2+maho2007-01-101-1/+2 * * Migrate to gfortran.maho2007-01-101-7/+19 * A small cleanup.maho2007-01-101-2/+6 * * Migrate to gfortran42.maho2007-01-101-9/+19 * * Migrate to gfortran42.maho2007-01-101-5/+2 * * Add WANT_FORTRAN=yes and USE_GCC=4.2+ instead.maho2007-01-101-2/+2 * *bump port revisionmaho2007-01-101-2/+3 * *Bump port revisionmaho2007-01-101-3/+3 * *Bump port revision.maho2007-01-101-2/+3 * Migrate to gfortran.maho2007-01-091-5/+18 * Migrate to gfrotran.maho2007-01-091-2/+6 * blas.1 -> blas.2maho2007-01-091-1/+1 * * Migrate to gfortranmaho2007-01-098-285/+99 * Chase another silent update.thierry2007-01-07