-/* HildonNotification *not; */
-
-/* /\* Create a new notification. FIXME put the right values, need */
-/* some more specs *\/ */
-/* not = hildon_notification_new ("TODO: (new email) Summary", */
-/* "TODO: (new email) Description", */
-/* "qgn_contact_group_chat_invitation", */
-/* "system.note.dialog"); */
-
-/* /\* Play sound SR-SND-18. TODO: play the right file *\/ */
-/* hildon_notification_set_sound (not, "/usr/share/sounds/ui-new_email.wav"); */
-
-/* /\* Set the led pattern *\/ */
-/* notify_notification_set_hint_int32 (NOTIFY_NOTIFICATION (not), "led-pattern", 3); */
-
-/* /\* Notify. We need to do this in an idle because this function */
-/* could be called from a thread *\/ */
-/* if (!notify_notification_show (NOTIFY_NOTIFICATION (not), NULL)) */
-/* g_error ("Failed to send notification"); */
+#ifdef MODEST_HAVE_HILDON_NOTIFY
+ HildonNotification *not;
+
+ /* Create a new notification. FIXME put the right values, need
+ some more specs */
+ not = hildon_notification_new ("TODO: (new email) Summary",
+ "TODO: (new email) Description",
+ "qgn_contact_group_chat_invitation",
+ "system.note.dialog");
+
+ /* Play sound SR-SND-18. TODO: play the right file */
+ /* TODO: Where is this declared? hildon_notification_set_sound (not, "/usr/share/sounds/ui-new_email.wav"); */
+
+ /* Set the led pattern */
+ notify_notification_set_hint_int32 (NOTIFY_NOTIFICATION (not), "led-pattern", 3);
+
+ /* Notify. We need to do this in an idle because this function
+ could be called from a thread */
+ if (!notify_notification_show (NOTIFY_NOTIFICATION (not), NULL))
+ g_error ("Failed to send notification");