From 050dc37b2f1e7e474cbf738ef1f60fbcea84961f Mon Sep 17 00:00:00 2001 From: Kostadin Atanasov Date: Fri, 18 Apr 2014 16:42:49 +0300 Subject: [PATCH] put back support for older versions --- src/tray.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/tray.c b/src/tray.c index a3e492f..2162c38 100644 --- a/src/tray.c +++ b/src/tray.c @@ -37,11 +37,12 @@ #include #include -/* +#if EVOLUTION_VERSION < 31192 #include #include -*/ +#else #include +#endif #include #include @@ -391,7 +392,11 @@ org_gnome_mail_read_notify(EPlugin *ep, EMEventTargetMessage *t) if (g_atomic_int_dec_and_test(&on_icon.status_count)) set_icon(&on_icon, FALSE, _("")); } +#if EVOLUTION_VERSION < 31192 + camel_folder_free_message_info(t->folder, info); +#else camel_message_info_unref(info); +#endif } }