diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-09 01:24:42 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-09 01:37:20 +0800 |
commit | 8a186c3588d3598857c36e2122fa68d01eba30fd (patch) | |
tree | 731078659d4e04af8346c5ca68512d8537b3707a /modules/calendar | |
parent | 2bf3460cd3eb0853a1d10a6e36f5091898a5533f (diff) | |
download | gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.gz gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.bz2 gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.lz gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.xz gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.zst gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.zip |
Coding style cleanups.
Diffstat (limited to 'modules/calendar')
-rw-r--r-- | modules/calendar/e-cal-shell-migrate.c | 2 | ||||
-rw-r--r-- | modules/calendar/e-cal-shell-view.c | 2 | ||||
-rw-r--r-- | modules/calendar/e-calendar-preferences.c | 4 | ||||
-rw-r--r-- | modules/calendar/e-memo-shell-migrate.c | 4 | ||||
-rw-r--r-- | modules/calendar/e-task-shell-migrate.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/modules/calendar/e-cal-shell-migrate.c b/modules/calendar/e-cal-shell-migrate.c index 710aa8f2a2..791352206e 100644 --- a/modules/calendar/e-cal-shell-migrate.c +++ b/modules/calendar/e-cal-shell-migrate.c @@ -174,7 +174,7 @@ create_calendar_sources (EShellBackend *shell_backend, shell_settings, "cal-primary-calendar", e_source_peek_uid (source)); - link.data = (gpointer)e_source_peek_uid (source); + link.data = (gpointer) e_source_peek_uid (source); link.next = NULL; e_cal_shell_backend_set_selected_calendars ( diff --git a/modules/calendar/e-cal-shell-view.c b/modules/calendar/e-cal-shell-view.c index b81b453bb0..20f30c12c4 100644 --- a/modules/calendar/e-cal-shell-view.c +++ b/modules/calendar/e-cal-shell-view.c @@ -321,7 +321,7 @@ cal_shell_view_update_actions (EShellView *shell_view) /* Hide the New button on the toolbar. */ widget = e_shell_window_get_managed_widget ( shell_window, "/main-toolbar"); - widget = (GtkWidget *)gtk_toolbar_get_nth_item ( + widget = (GtkWidget *) gtk_toolbar_get_nth_item ( GTK_TOOLBAR (widget), 0); gtk_widget_hide (widget); diff --git a/modules/calendar/e-calendar-preferences.c b/modules/calendar/e-calendar-preferences.c index 9db9f4538b..328fba44f1 100644 --- a/modules/calendar/e-calendar-preferences.c +++ b/modules/calendar/e-calendar-preferences.c @@ -864,8 +864,8 @@ calendar_preferences_construct (ECalendarPreferences *prefs, /* Hook up and add the toplevel widget */ target = e_cal_config_target_new_prefs (ec); - e_config_set_target ((EConfig *)ec, (EConfigTarget *) target); - toplevel = e_config_create_widget ((EConfig *)ec); + e_config_set_target ((EConfig *) ec, (EConfigTarget *) target); + toplevel = e_config_create_widget ((EConfig *) ec); gtk_container_add (GTK_CONTAINER (prefs), toplevel); show_config (prefs); diff --git a/modules/calendar/e-memo-shell-migrate.c b/modules/calendar/e-memo-shell-migrate.c index b760990f6b..efe71f6632 100644 --- a/modules/calendar/e-memo-shell-migrate.c +++ b/modules/calendar/e-memo-shell-migrate.c @@ -129,7 +129,7 @@ create_memo_sources (EShellBackend *shell_backend, shell_settings, "cal-primary-memo-list", e_source_peek_uid (source)); - link.data = (gpointer)e_source_peek_uid (source); + link.data = (gpointer) e_source_peek_uid (source); link.next = NULL; e_memo_shell_backend_set_selected_memo_lists ( @@ -251,7 +251,7 @@ e_memo_shell_backend_migrate (EShellBackend *shell_backend, al = e_get_account_list (); - for (it = e_list_get_iterator ((EList *)al); + for (it = e_list_get_iterator ((EList *) al); e_iterator_is_valid (it); e_iterator_next (it)) { a = (EAccount *) e_iterator_get (it); diff --git a/modules/calendar/e-task-shell-migrate.c b/modules/calendar/e-task-shell-migrate.c index d7daafc91d..d9b5aa7af6 100644 --- a/modules/calendar/e-task-shell-migrate.c +++ b/modules/calendar/e-task-shell-migrate.c @@ -141,7 +141,7 @@ create_task_sources (EShellBackend *shell_backend, shell_settings, "cal-primary-task-list", e_source_peek_uid (source)); - link.data = (gpointer)e_source_peek_uid (source); + link.data = (gpointer) e_source_peek_uid (source); link.next = NULL; e_task_shell_backend_set_selected_task_lists ( |