diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-08 00:22:36 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-08 06:48:38 +0800 |
commit | 4cfb84c573f21ca7519e24cff1c5742b715355c4 (patch) | |
tree | 92314a7c4ebb1b82f5bbe0e48856e23f06dcfc95 /widgets/misc | |
parent | c7b455de89487e606fc620420c1778f5e55afcac (diff) | |
download | gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.gz gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.zst gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.zip |
Whitespace and coding style cleanups.
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-calendar-item.c | 3 | ||||
-rw-r--r-- | widgets/misc/e-dateedit.c | 3 | ||||
-rw-r--r-- | widgets/misc/e-map.c | 4 | ||||
-rw-r--r-- | widgets/misc/ea-calendar-cell.c | 3 | ||||
-rw-r--r-- | widgets/misc/ea-calendar-item.c | 3 |
5 files changed, 11 insertions, 5 deletions
diff --git a/widgets/misc/e-calendar-item.c b/widgets/misc/e-calendar-item.c index c76a9fa62e..aa666f5267 100644 --- a/widgets/misc/e-calendar-item.c +++ b/widgets/misc/e-calendar-item.c @@ -3211,7 +3211,8 @@ e_calendar_item_ensure_days_visible (ECalendarItem *calitem, ¤t_end_month); /* Try to ensure that the end month is shown. */ - if ((end_year == current_end_year + 1 && current_end_month == 11 && end_month == 0) || + if ((end_year == current_end_year + 1 && + current_end_month == 11 && end_month == 0) || (end_year == current_end_year && end_month == current_end_month + 1)) { /* See if the end of the selection will fit in the leftover days of the month after the last one shown. */ diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c index 4e704bd39a..881f1f332c 100644 --- a/widgets/misc/e-dateedit.c +++ b/widgets/misc/e-dateedit.c @@ -1978,7 +1978,8 @@ e_date_edit_update_time_entry (EDateEdit *dedit) /* This is a strftime() format. %H = hour (0-23), %M = minute. */ e_time_format_time (&tmp_tm, 1, 0, buffer, sizeof (buffer)); else - /* This is a strftime() format. %I = hour (1-12), %M = minute, %p = am/pm string. */ + /* This is a strftime() format. %I = hour (1-12), + * %M = minute, %p = am/pm string. */ e_time_format_time (&tmp_tm, 0, 0, buffer, sizeof (buffer)); /* For 12-hour am/pm format, we want space padding, not zero padding. This diff --git a/widgets/misc/e-map.c b/widgets/misc/e-map.c index 405a55d686..6b90887ffc 100644 --- a/widgets/misc/e-map.c +++ b/widgets/misc/e-map.c @@ -973,7 +973,9 @@ e_map_zoom_out (EMap *map) e_map_set_zoom (map, E_MAP_ZOOMED_OUT); center_at (map, longitude, latitude); - e_map_tween_new_from (map, E_MAP_TWEEN_DURATION_MSECS, longitude, latitude, prevzoom); + e_map_tween_new_from ( + map, E_MAP_TWEEN_DURATION_MSECS, + longitude, latitude, prevzoom); } void diff --git a/widgets/misc/ea-calendar-cell.c b/widgets/misc/ea-calendar-cell.c index 2915a6cd04..cff30af4d8 100644 --- a/widgets/misc/ea-calendar-cell.c +++ b/widgets/misc/ea-calendar-cell.c @@ -377,7 +377,8 @@ component_interface_grab_focus (AtkComponent *component) atk_selection_add_selection (ATK_SELECTION (ea_calitem), index); gtk_widget_grab_focus (GTK_WIDGET (GNOME_CANVAS_ITEM (calitem)->canvas)); - toplevel = gtk_widget_get_toplevel (GTK_WIDGET (GNOME_CANVAS_ITEM (calitem)->canvas)); + toplevel = gtk_widget_get_toplevel ( + GTK_WIDGET (GNOME_CANVAS_ITEM (calitem)->canvas)); if (toplevel && gtk_widget_is_toplevel (toplevel)) gtk_window_present (GTK_WINDOW (toplevel)); diff --git a/widgets/misc/ea-calendar-item.c b/widgets/misc/ea-calendar-item.c index e9977bf01e..6179d45551 100644 --- a/widgets/misc/ea-calendar-item.c +++ b/widgets/misc/ea-calendar-item.c @@ -1306,7 +1306,8 @@ ea_calendar_set_focus_object (EaCalendarItem *ea_calitem, AtkObject *item_cell) AtkStateSet *state_set, *old_state_set; AtkObject *old_cell; - old_cell = (AtkObject *)g_object_get_data (G_OBJECT(ea_calitem), "gail-focus-object"); + old_cell = (AtkObject *)g_object_get_data ( + G_OBJECT(ea_calitem), "gail-focus-object"); if (old_cell && EA_IS_CALENDAR_CELL (old_cell)) { old_state_set = atk_object_ref_state_set (old_cell); atk_state_set_remove_state (old_state_set, ATK_STATE_FOCUSED); |