From 0ad91d0f28af42ad948ad4bebf3e4da5fef0915f Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sun, 28 Feb 1999 18:48:12 +0000 Subject: gtk_widget_get_requisition fix for Gtk+ 1.2. svn path=/trunk/; revision=716 --- calendar/gncal-full-day.c | 2 +- calendar/gui/gncal-full-day.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar') 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); } -- cgit