X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-platform.c;h=c62100889bda84ec87b564a0baf2f6cfa70a907b;hp=8844dd64136676d7126c08d0c185abdb28ee35bc;hb=e5c34cef889bc07bd0920b421365c005660fd271;hpb=5e56c1c195c02b700968a1f8a2798efc933ced41 diff --git a/src/maemo/modest-platform.c b/src/maemo/modest-platform.c index 8844dd6..c621008 100644 --- a/src/maemo/modest-platform.c +++ b/src/maemo/modest-platform.c @@ -47,7 +47,6 @@ #include #include #include -#include #define HILDON_OSSO_URI_ACTION "uri-action" #define URI_ACTION_COPY "copy:" @@ -833,6 +832,7 @@ void modest_platform_on_new_msg (void) { return; /* TODO: Reenable this later. I disabled it to avoid having one notification per email. */ +#ifndef MODEST_HILDON_VERSION_0 HildonNotification *not; /* Create a new notification. FIXME put the right values, need @@ -854,6 +854,7 @@ modest_platform_on_new_msg (void) g_error ("Failed to send notification"); g_object_unref (not); +#endif /*MODEST_HILDON_VERSION_0*/ }