X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fdbus_api%2Fmodest-dbus-callbacks.c;fp=src%2Fdbus_api%2Fmodest-dbus-callbacks.c;h=eb63e6c8fb3b1c1851a3559ad5c95de9a4ca005d;hp=f0a50bd65416bbc16d28c648fc77d072f92e4a20;hb=fc741ebc372d1c8d4756641b96cb7cc37f986e47;hpb=10ad280d346ab341a0ab4437d1f3f81d48a5a0f0 diff --git a/src/dbus_api/modest-dbus-callbacks.c b/src/dbus_api/modest-dbus-callbacks.c index f0a50bd..eb63e6c 100644 --- a/src/dbus_api/modest-dbus-callbacks.c +++ b/src/dbus_api/modest-dbus-callbacks.c @@ -61,6 +61,7 @@ #include #include #include +#include #endif #include @@ -1161,7 +1162,7 @@ on_send_receive_performer(gboolean canceled, same as the one specified by the user */ if (connect_when == MODEST_CONNECTED_VIA_ANY || connect_when == modest_platform_get_current_connection ()) { - g_idle_add (on_idle_send_receive, NULL); + modest_heartbeat_add (on_idle_send_receive, NULL); } else { /* We need this to allow modest to finish */ g_idle_add (notify_error_in_dbus_callback, NULL);