From 53e4d84f5202b6ab964ec4f0527a12e0f6c3f836 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Wed, 18 Feb 2009 23:55:13 +0000 Subject: Remove useless and deprecated gtk_layout_freeze and gtk_layout_thaw calls. 2009-02-19 Andre Klapper * /gui/e-day-view.c: Remove useless and deprecated gtk_layout_freeze and gtk_layout_thaw calls. svn path=/trunk/; revision=37289 --- calendar/ChangeLog | 6 ++++++ calendar/gui/e-day-view.c | 11 ----------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 96b08efbba..09f38c9260 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2009-02-19 Andre Klapper + + * /gui/e-day-view.c: + Remove useless and deprecated gtk_layout_freeze and gtk_layout_thaw + calls. + 2009-02-16 Milan Crha ** Fix for bug #550114 diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index efdc1cd958..e86d862414 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -6577,19 +6577,8 @@ e_day_view_auto_scroll_handler (gpointer data) if (new_scroll_y != scroll_y) { /* NOTE: This reduces flicker, but only works if we don't use canvas items which have X windows. */ - - /* FIXME: Since GNOME 2.0 we can't do this, since the canvas - * won't update when its's thawed. Is this a bug or should we - * really be doing something else? Investigate. */ -#if 0 - gtk_layout_freeze (GTK_LAYOUT (day_view->main_canvas)); -#endif - gnome_canvas_scroll_to (GNOME_CANVAS (day_view->main_canvas), scroll_x, new_scroll_y); -#if 0 - gtk_layout_thaw (GTK_LAYOUT (day_view->main_canvas)); -#endif } canvas_x = day_view->last_mouse_x + scroll_x; -- cgit v1.2.3