aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Klapper <a9016009@gmx.de>2009-02-19 07:55:13 +0800
committerAndre Klapper <aklapper@src.gnome.org>2009-02-19 07:55:13 +0800
commit53e4d84f5202b6ab964ec4f0527a12e0f6c3f836 (patch)
tree67604151b91f54b9e102621939229ef9dd874737
parentb4d8bb7fd13d47c66712680ea086caf299bd89d5 (diff)
downloadgsoc2013-evolution-53e4d84f5202b6ab964ec4f0527a12e0f6c3f836.tar.gz
gsoc2013-evolution-53e4d84f5202b6ab964ec4f0527a12e0f6c3f836.tar.zst
gsoc2013-evolution-53e4d84f5202b6ab964ec4f0527a12e0f6c3f836.zip
Remove useless and deprecated gtk_layout_freeze and gtk_layout_thaw calls.
2009-02-19 Andre Klapper <a9016009@gmx.de> * /gui/e-day-view.c: Remove useless and deprecated gtk_layout_freeze and gtk_layout_thaw calls. svn path=/trunk/; revision=37289
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/e-day-view.c11
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 <a9016009@gmx.de>
+
+ * /gui/e-day-view.c:
+ Remove useless and deprecated gtk_layout_freeze and gtk_layout_thaw
+ calls.
+
2009-02-16 Milan Crha <mcrha@redhat.com>
** 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;