aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/publish-calendar/publish-calendar.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-06-15 20:15:10 +0800
committerMilan Crha <mcrha@redhat.com>2009-06-15 20:15:10 +0800
commit3adac597cff883050c09e765cb1c8e3cde05e3c9 (patch)
treef0034f28e2aa6a3ce16bf4811d1aa6f799c553ec /plugins/publish-calendar/publish-calendar.c
parented2d22755ff21516e3284f38eefd080102dd3715 (diff)
downloadgsoc2013-evolution-3adac597cff883050c09e765cb1c8e3cde05e3c9.tar.gz
gsoc2013-evolution-3adac597cff883050c09e765cb1c8e3cde05e3c9.tar.zst
gsoc2013-evolution-3adac597cff883050c09e765cb1c8e3cde05e3c9.zip
Leak a bit less. Use proper function prototype.
The first is for mail, the second for publish-calendar plugin.
Diffstat (limited to 'plugins/publish-calendar/publish-calendar.c')
-rw-r--r--plugins/publish-calendar/publish-calendar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/publish-calendar/publish-calendar.c b/plugins/publish-calendar/publish-calendar.c
index 43e093eff2..e1818d7bac 100644
--- a/plugins/publish-calendar/publish-calendar.c
+++ b/plugins/publish-calendar/publish-calendar.c
@@ -776,7 +776,7 @@ action_publish (EPlugin *ep, ECalMenuTargetSelect *t)
error_queue_add (g_strdup (_("Could not create publish thread.")), error);
}
-static void
+static gpointer
publish_uris_set_timeout (GSList *uris)
{
GSList *l;
@@ -804,6 +804,8 @@ publish_uris_set_timeout (GSList *uris)
}
g_slist_foreach (uris, (GFunc) g_free, NULL);
g_slist_free (uris);
+
+ return NULL;
}
gint