X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-account.c;h=63e87ec45bfbe466e56919972777ede5cfbc85d2;hp=ac6810d2b3d2b97f477bac2830e8f93307464d58;hb=94bf2a181e8b2644f037246b2fc3a70c865c22e2;hpb=627c4af6ac85444cc3256fa568baf4a8d62178ae diff --git a/src/modest-tny-account.c b/src/modest-tny-account.c index ac6810d..63e87ec 100644 --- a/src/modest-tny-account.c +++ b/src/modest-tny-account.c @@ -48,8 +48,8 @@ #include #include #include -#ifdef MODEST_PLATFORM_MAEMO -#ifdef MODEST_HAVE_HILDON0_WIDGETS +#ifndef MODEST_TOOLKIT_GTK +#if MODEST_HILDON_API == 0 #include #else #include @@ -591,7 +591,7 @@ typedef struct -#ifdef MODEST_PLATFORM_MAEMO +#ifndef MODEST_TOOLKIT_GTK /* Gets the memory card name: */ static void on_modest_file_system_info (HildonFileSystemInfoHandle *handle, @@ -632,7 +632,7 @@ on_modest_file_system_info (HildonFileSystemInfoHandle *handle, void modest_tny_account_get_mmc_account_name (TnyStoreAccount* self, ModestTnyAccountGetMmcAccountNameCallback callback, gpointer user_data) { -#ifdef MODEST_PLATFORM_MAEMO +#ifndef MODEST_TOOLKIT_GTK /* Just use the hard-coded path for the single memory card, * rather than try to figure out the path to the specific card by * looking at the maildir URI: