aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-04-13 13:04:10 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-04-14 05:24:57 +0200
commit4317c7e581415078c876ad5699d41cbea3c89cb5 (patch)
treebe41b184c1025437ad4e325ca52e51c9bb07f3db
parent8da5f807cf8a64c06377f4868f39e84539cc39c8 (diff)
downloadfiv-4317c7e581415078c876ad5699d41cbea3c89cb5.tar.gz
fiv-4317c7e581415078c876ad5699d41cbea3c89cb5.tar.xz
fiv-4317c7e581415078c876ad5699d41cbea3c89cb5.zip
Remove a comment
Upon closer thought, I don't know how to implement the idea reasonably.
-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.