[eog: 2/3] Remove old drawing code which was ifdef-ed out
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog: 2/3] Remove old drawing code which was ifdef-ed out
- Date: Sat, 23 Feb 2019 17:04:06 +0000 (UTC)
commit 1a2b68487f0fdbc58fe52430456fc1a9b3affd1c
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Feb 20 14:04:50 2019 -0600
Remove old drawing code which was ifdef-ed out
src/eog-scroll-view.c | 14 --------------
1 file changed, 14 deletions(-)
---
diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c
index 33e24b96..454b904e 100644
--- a/src/eog-scroll-view.c
+++ b/src/eog-scroll-view.c
@@ -607,11 +607,6 @@ scroll_to (EogScrollView *view, int x, int y, gboolean change_adjustments)
GtkAllocation allocation;
int xofs, yofs;
GdkWindow *window;
-#if 0
- int src_x, src_y;
- int dest_x, dest_y;
- int twidth, theight;
-#endif
priv = view->priv;
@@ -1967,15 +1962,6 @@ eog_scroll_view_set_image (EogScrollView *view, EogImage *image)
EOG_ZOOM_MODE_SHRINK_TO_FIT);
}
-#if 0
- else if ((is_zoomed_in (view) && priv->interp_type_in != CAIRO_FILTER_NEAREST) ||
- (is_zoomed_out (view) && priv->interp_type_out != CAIRO_FILTER_NEAREST))
- {
- /* paint antialiased image version */
- priv->progressive_state = PROGRESSIVE_POLISHING;
- gtk_widget_queue_draw (GTK_WIDGET (priv->display));
- }
-#endif
priv->image_changed_id = g_signal_connect (image, "changed",
(GCallback) image_changed_cb, view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]