aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-day-panel.c
diff options
context:
space:
mode:
authorAndrew T. Veliath <andrewtv@src.gnome.org>1998-11-24 02:41:52 +0800
committerAndrew T. Veliath <andrewtv@src.gnome.org>1998-11-24 02:41:52 +0800
commit0b04bfdfc7c54cb651126e41b12ce6e1606551ed (patch)
tree88bdc7284bfa1babf02583f0d685169b3424a941 /calendar/gncal-day-panel.c
parent309adf8b53b8f9ecfd12dec6f8ab7a9699ff82ac (diff)
downloadgsoc2013-evolution-0b04bfdfc7c54cb651126e41b12ce6e1606551ed.tar.gz
gsoc2013-evolution-0b04bfdfc7c54cb651126e41b12ce6e1606551ed.tar.zst
gsoc2013-evolution-0b04bfdfc7c54cb651126e41b12ce6e1606551ed.zip
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
Diffstat (limited to 'calendar/gncal-day-panel.c')
-rw-r--r--calendar/gncal-day-panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gncal-day-panel.c b/calendar/gncal-day-panel.c
index c4ea354e25..422c755371 100644
--- a/calendar/gncal-day-panel.c
+++ b/calendar/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 */