Skip to content

Commit

Permalink
put back support for older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kostadin Atanasov committed Apr 18, 2014
1 parent 7d20e7b commit 050dc37
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/tray.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@
#include <shell/e-shell-view.h>
#include <shell/e-shell-window.h>

/*
#if EVOLUTION_VERSION < 31192
#include <libemail-engine/e-mail-folder-utils.h>
#include <libemail-engine/mail-ops.h>
*/
#else
#include <libemail-engine/libemail-engine.h>
#endif

#include <mail/em-event.h>
#include <mail/em-folder-tree.h>
Expand Down Expand Up @@ -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
}
}

Expand Down

0 comments on commit 050dc37

Please sign in to comment.