mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 12:40:10 +00:00
calendar: Fix else branch indentations
This commit is contained in:
parent
b73e6ffbd8
commit
61c85ba89d
@ -2257,13 +2257,13 @@ calendar_paint_header (GtkCalendar *calendar, cairo_t *cr)
|
||||
x = header_width - (3 + max_month_width
|
||||
- (max_month_width - logical_rect.width)/2);
|
||||
else
|
||||
x = 3 + (max_month_width - logical_rect.width) / 2;
|
||||
x = 3 + (max_month_width - logical_rect.width) / 2;
|
||||
else
|
||||
if (year_left)
|
||||
x = header_width - (3 + priv->arrow_width + max_month_width
|
||||
- (max_month_width - logical_rect.width)/2);
|
||||
else
|
||||
x = 3 + priv->arrow_width + (max_month_width - logical_rect.width)/2;
|
||||
x = 3 + priv->arrow_width + (max_month_width - logical_rect.width)/2;
|
||||
|
||||
gtk_render_layout (context, cr, x, y, layout);
|
||||
g_object_unref (layout);
|
||||
|
Loading…
Reference in New Issue
Block a user