Remove compatibility checks with GTK 2.x
[projects/chimara/chimara.git] / libchimara / pager.c
index c04553fe135bdea0af9b16610968ec81b1d69498..efb941b46f39bb945e82292539e89c5371d09f02 100644 (file)
@@ -157,13 +157,7 @@ pager_after_size_allocate(GtkTextView *textview, GdkRectangle *allocation, winid
        if(!win->currently_paging) {
                if(scroll_distance > view_height) {
                        start_paging(win);
-                       /* Seriously... */
-                       /* COMPAT: */
-#if GTK_CHECK_VERSION(2,14,0)
                        gdk_window_invalidate_rect(gtk_widget_get_window(win->widget), NULL, TRUE);
-#else
-                       gdk_window_invalidate_rect(win->widget->window, NULL, TRUE);
-#endif
                }
        }
 }