aboutsummaryrefslogtreecommitdiff
path: root/fiv-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'fiv-browser.c')
-rw-r--r--fiv-browser.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fiv-browser.c b/fiv-browser.c
index f895a20..87488f7 100644
--- a/fiv-browser.c
+++ b/fiv-browser.c
@@ -200,9 +200,6 @@ relayout(FivBrowser *self, int width)
gtk_style_context_get_padding(style, GTK_STATE_FLAG_NORMAL, &padding);
int available_width = width - padding.left - padding.right, max_width = 0;
- // TODO(p): Remember the first visible item and the vertical offset into it,
- // then try to ensure its visibility at the end (useful for reloads).
-
g_array_set_size(self->layouted_rows, 0);
// Whatever self->drag_begin_* used to point at might no longer be there,
// but thumbnail reloading would disrupt mouse clicks if we cleared them.