From 04a8f75ba92f077cd0d408caed023eb49fd40ea0 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 25 Feb 2009 12:02:28 +0000 Subject: [PATCH] Removed several trailing whitespaces pmo-trunk-r7682 --- src/dbus_api/modest-dbus-callbacks.c | 22 +++++++++++----------- src/hildon2/modest-platform.c | 6 +++--- src/modest-ui-actions.c | 4 ++-- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/dbus_api/modest-dbus-callbacks.c b/src/dbus_api/modest-dbus-callbacks.c index 38a92cb..2aeb3c1 100644 --- a/src/dbus_api/modest-dbus-callbacks.c +++ b/src/dbus_api/modest-dbus-callbacks.c @@ -1120,7 +1120,7 @@ on_send_receive_performer(gboolean canceled, connect_when = modest_conf_get_int (modest_runtime_get_conf (), MODEST_CONF_UPDATE_WHEN_CONNECTED_BY, NULL); - + /* Perform a send and receive if the user selected to connect via any mean or if the current connection method is the same as the one specified by the user */ @@ -1134,24 +1134,24 @@ on_send_receive_performer(gboolean canceled, } -static gint +static gint on_send_receive(GArray *arguments, gpointer data, osso_rpc_t * retval) -{ +{ TnyDevice *device = modest_runtime_get_device (); if (!tny_device_is_online (device)) modest_platform_connect_and_perform (NULL, FALSE, NULL, on_send_receive_performer, NULL); else on_send_receive_performer (FALSE, NULL, NULL, NULL, NULL); - + return OSSO_OK; } -static gint +static gint on_open_default_inbox(GArray * arguments, gpointer data, osso_rpc_t * retval) { g_idle_add(on_idle_top_application, NULL); - + return OSSO_OK; } @@ -1185,21 +1185,21 @@ on_idle_top_application (gpointer user_data) } gdk_threads_leave (); /* CHECKED */ - + return FALSE; /* Do not call this callback again. */ } #else -static gboolean +static gboolean on_idle_top_application (gpointer user_data) { ModestWindow *main_win; gboolean new_window = FALSE; - + /* This is a GDK lock because we are an idle callback and * the code below is or does Gtk+ code */ gdk_threads_enter (); /* CHECKED */ - + main_win = modest_window_mgr_get_main_window (modest_runtime_get_window_mgr (), FALSE); @@ -1226,7 +1226,7 @@ on_idle_top_application (gpointer user_data) } gdk_threads_leave (); /* CHECKED */ - + return FALSE; /* Do not call this callback again. */ } #endif diff --git a/src/hildon2/modest-platform.c b/src/hildon2/modest-platform.c index 77695e2..bfdd3fe 100644 --- a/src/hildon2/modest-platform.c +++ b/src/hildon2/modest-platform.c @@ -1455,7 +1455,7 @@ modest_platform_on_new_headers_received (TnyList *header_list, g_warning ("%s: header list is empty", __FUNCTION__); return; } - + if (!show_visual) { modest_platform_push_email_notification (); /* We do a return here to avoid indentation with an else */ @@ -1468,8 +1468,8 @@ modest_platform_on_new_headers_received (TnyList *header_list, GSList *notifications_list = NULL; /* Get previous notifications ids */ - notifications_list = modest_conf_get_list (modest_runtime_get_conf (), - MODEST_CONF_NOTIFICATION_IDS, + notifications_list = modest_conf_get_list (modest_runtime_get_conf (), + MODEST_CONF_NOTIFICATION_IDS, MODEST_CONF_VALUE_INT, NULL); iter = tny_list_create_iterator (header_list); diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index 0bf384b..794a3e3 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -2069,12 +2069,12 @@ modest_ui_actions_on_sort (GtkAction *action, if (!header_view) { modest_platform_information_banner (NULL, NULL, _CS("ckdg_ib_nothing_to_sort")); - + return; } /* Show sorting dialog */ - modest_utils_run_sort_dialog (GTK_WINDOW (window), MODEST_SORT_HEADERS); + modest_utils_run_sort_dialog (GTK_WINDOW (window), MODEST_SORT_HEADERS); } static void -- 1.7.9.5