From 0b04bfdfc7c54cb651126e41b12ce6e1606551ed Mon Sep 17 00:00:00 2001 From: "Andrew T. Veliath" Date: Mon, 23 Nov 1998 18:41:52 +0000 Subject: Use gtk_scrolled_window_add_with_viewport instead of gtk_container_add * gncal-day-panel.c (gncal_day_panel_new): Use gtk_scrolled_window_add_with_viewport instead of gtk_container_add (gtk_clist change). svn path=/trunk/; revision=484 --- calendar/gui/gncal-day-panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/gncal-day-panel.c b/calendar/gui/gncal-day-panel.c index c4ea354e25..422c755371 100644 --- a/calendar/gui/gncal-day-panel.c +++ b/calendar/gui/gncal-day-panel.c @@ -133,7 +133,7 @@ gncal_day_panel_new (GnomeCalendar *calendar, time_t start_of_day) gtk_signal_connect (GTK_OBJECT (dpanel->fullday), "range_activated", (GtkSignalFunc) day_view_range_activated, dpanel); - gtk_container_add (GTK_CONTAINER (dpanel->fullday_sw), w); + gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (dpanel->fullday_sw), w); gtk_widget_show (w); /* We'll scroll the list to the proper initial position */ -- cgit