aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1999-03-01 02:48:12 +0800
committerMartin Baulig <martin@src.gnome.org>1999-03-01 02:48:12 +0800
commit0ad91d0f28af42ad948ad4bebf3e4da5fef0915f (patch)
tree76fffb21dada7d356441e44d88a6e91e998fad16 /calendar
parent3567dff72453d676f086cbab86d396f84ff9ea24 (diff)
downloadgsoc2013-evolution-0ad91d0f28af42ad948ad4bebf3e4da5fef0915f.tar.gz
gsoc2013-evolution-0ad91d0f28af42ad948ad4bebf3e4da5fef0915f.tar.zst
gsoc2013-evolution-0ad91d0f28af42ad948ad4bebf3e4da5fef0915f.zip
gtk_widget_get_requisition fix for Gtk+ 1.2.
svn path=/trunk/; revision=716
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gncal-full-day.c2
-rw-r--r--calendar/gui/gncal-full-day.c2
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);
}