diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gncal-full-day.c | 2 | ||||
-rw-r--r-- | calendar/gui/gncal-full-day.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gncal-full-day.c b/calendar/gncal-full-day.c index cef08c7fa0..e813eefbce 100644 --- a/calendar/gncal-full-day.c +++ b/calendar/gncal-full-day.c @@ -200,7 +200,7 @@ child_set_text_pos (Child *child) allocation.width = child->width - handle_size - child->decor_width; allocation.height = child->height - (has_focus ? (2 * handle_size) : 0); - gtk_widget_size_request (child->widget, &child->widget->requisition); /* FIXME: is this needed? */ + gtk_widget_size_request (child->widget, NULL); gtk_widget_size_allocate (child->widget, &allocation); } diff --git a/calendar/gui/gncal-full-day.c b/calendar/gui/gncal-full-day.c index cef08c7fa0..e813eefbce 100644 --- a/calendar/gui/gncal-full-day.c +++ b/calendar/gui/gncal-full-day.c @@ -200,7 +200,7 @@ child_set_text_pos (Child *child) allocation.width = child->width - handle_size - child->decor_width; allocation.height = child->height - (has_focus ? (2 * handle_size) : 0); - gtk_widget_size_request (child->widget, &child->widget->requisition); /* FIXME: is this needed? */ + gtk_widget_size_request (child->widget, NULL); gtk_widget_size_allocate (child->widget, &allocation); } |