X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fdbus_api%2Fmodest-dbus-callbacks.c;h=7a5ecd18d0fbc70da3ed36c012d4a5fba1946e00;hb=858faf3df489b530ceb6b3ac5695a7b182368640;hp=d6be5e6d32a04e0341e5fab2b91c2a9a61e9950f;hpb=f077d0809138e8192dbba9e06b97f078839c095d;p=modest diff --git a/src/dbus_api/modest-dbus-callbacks.c b/src/dbus_api/modest-dbus-callbacks.c index d6be5e6..7a5ecd1 100644 --- a/src/dbus_api/modest-dbus-callbacks.c +++ b/src/dbus_api/modest-dbus-callbacks.c @@ -47,13 +47,8 @@ #include #include #include -#ifdef MODEST_HAVE_HILDON0_WIDGETS -#include -#include -#else #include #include -#endif #include #ifdef MODEST_TOOLKIT_HILDON2 @@ -261,7 +256,7 @@ on_mail_to(GArray * arguments, gpointer data, osso_rpc_t * retval) /* Note that we cannot report failures during sending, * because that would be asynchronous. */ - return OSSO_OK; + return OSSO_OK; } @@ -356,7 +351,7 @@ on_compose_mail(GArray * arguments, gpointer data, osso_rpc_t * retval) /* Use g_idle to context-switch into the application's thread: */ g_idle_add(on_idle_compose_mail, (gpointer)idle_data); - return OSSO_OK; + return OSSO_OK; } static TnyMsg * @@ -919,7 +914,7 @@ on_delete_message (GArray *arguments, gpointer data, osso_rpc_t *retval) /* Use g_idle to context-switch into the application's thread: */ g_idle_add(on_idle_delete_message, (gpointer)uri); - return OSSO_OK; + return OSSO_OK; } typedef struct _SendReceivePerformerData { @@ -1225,7 +1220,7 @@ on_send_receive(GArray *arguments, gpointer data, osso_rpc_t * retval) else on_send_receive_performer (FALSE, NULL, NULL, NULL, srp_data); - return OSSO_OK; + return OSSO_OK; } static gint @@ -1257,7 +1252,7 @@ on_send_receive_full (GArray *arguments, gpointer data, osso_rpc_t * retval) else on_send_receive_performer (FALSE, NULL, NULL, NULL, srp_data); - return OSSO_OK; + return OSSO_OK; } static gint @@ -1265,7 +1260,7 @@ on_open_default_inbox(GArray * arguments, gpointer data, osso_rpc_t * retval) { g_idle_add(on_idle_top_application, NULL); - return OSSO_OK; + return OSSO_OK; } @@ -1430,7 +1425,7 @@ on_top_application(GArray * arguments, gpointer data, osso_rpc_t * retval) /* Use g_idle to context-switch into the application's thread: */ g_idle_add(on_idle_top_application, NULL); - return OSSO_OK; + return OSSO_OK; } static gboolean @@ -1482,9 +1477,9 @@ static gint on_open_edit_accounts_dialog (GArray * arguments, gpointer data, osso_rpc_t * retval) { /* Use g_idle to context-switch into the application's thread: */ - g_idle_add (on_idle_open_edit_accounts_dialog, NULL); + g_idle_add (on_idle_open_edit_accounts_dialog, NULL); - return OSSO_OK; + return OSSO_OK; } static gboolean