aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-driver.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-09-12 05:38:50 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-09-12 05:38:50 +0800
commita24f5d36acd3e55a1a5928339e895173cd517ed0 (patch)
treee5d4ef8cb34a522e134e908a649c2e6a3833a99d /filter/filter-driver.c
parentca9ab0c63bc468566064505263088649064993a6 (diff)
downloadgsoc2013-evolution-a24f5d36acd3e55a1a5928339e895173cd517ed0.tar.gz
gsoc2013-evolution-a24f5d36acd3e55a1a5928339e895173cd517ed0.tar.zst
gsoc2013-evolution-a24f5d36acd3e55a1a5928339e895173cd517ed0.zip
No longer takes a self_destruct argument.
2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): No longer takes a self_destruct argument. svn path=/trunk/; revision=5348
Diffstat (limited to 'filter/filter-driver.c')
-rw-r--r--filter/filter-driver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index 257869081d..3cd527664d 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -401,8 +401,7 @@ free_key (gpointer key, gpointer value, gpointer user_data)
gboolean
filter_driver_run (FilterDriver *driver, CamelMimeMessage *message, CamelMessageInfo *info,
- CamelFolder *inbox, enum _filter_source_t sourcetype,
- gboolean self_destruct, CamelException *ex)
+ CamelFolder *inbox, enum _filter_source_t sourcetype, CamelException *ex)
{
struct _FilterDriverPrivate *p = _PRIVATE (driver);
ESExpResult *r;
@@ -412,6 +411,7 @@ filter_driver_run (FilterDriver *driver, CamelMimeMessage *message, CamelMessage
gtk_object_ref (GTK_OBJECT (driver));
camel_object_ref (CAMEL_OBJECT (message));
+
if (inbox)
camel_object_ref (CAMEL_OBJECT (inbox));
@@ -483,8 +483,8 @@ filter_driver_run (FilterDriver *driver, CamelMimeMessage *message, CamelMessage
camel_object_unref (CAMEL_OBJECT (message));
if (inbox)
camel_object_unref (CAMEL_OBJECT (inbox));
- if (self_destruct)
- gtk_object_unref (GTK_OBJECT (driver));
+
+ gtk_object_unref (GTK_OBJECT (driver));
return filtered;
}