Draw bottom shadow of GtkCalender headings. (#506113)

* gtk/gtkcalendar.c: Set proper initial height for priv->header_win.

svn path=/trunk/; revision=19282
This commit is contained in:
Mathias Hasselmann
2007-12-28 19:46:53 +00:00
parent 2c35a3f9b2
commit 2227e2993a
2 changed files with 8 additions and 2 deletions

View File

@ -1481,7 +1481,7 @@ calendar_realize_header (GtkCalendar *calendar)
attributes.x = widget->style->xthickness;
attributes.y = widget->style->ythickness;
attributes.width = widget->allocation.width - 2 * attributes.x;
attributes.height = priv->header_h - 2 * attributes.y;
attributes.height = priv->header_h;
priv->header_win = gdk_window_new (widget->window,
&attributes, attributes_mask);