* #13994: addressbook: use single-file includes if eds version >= 3.5.3

This commit is contained in:
Tristan Matthews
2012-07-30 11:03:24 -04:00
parent f07feed9ab
commit f527ffa895
2 changed files with 13 additions and 2 deletions

View File

@ -36,13 +36,17 @@
* as that of the covered work.
*/
#include "config.h"
#include <glib.h>
#include <string.h>
#include <pango/pango.h>
#include "eds.h"
#if EDS_CHECK_VERSION(3,5,3)
#include <libedataserver/libedataserver.h>
#else
#include <libedataserver/e-source.h>
#include "config.h"
#endif
/**
* Structure used to store search callback and data

View File

@ -40,7 +40,14 @@
#include <glib.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libedataserver/eds-version.h>
#if EDS_CHECK_VERSION(3,5,3)
#include <libebook/libebook.h>
#else
#include <libebook/e-book.h>
#endif
#include "addressbook.h"