summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-04 15:03:25 -0400
committerDavid Robillard <d@drobilla.net>2024-06-04 15:03:25 -0400
commit87110fbe354e0734c2436351055cdb240feda811 (patch)
treed995be00629f8da3b567893380a9cc79dfc8318c /src
parent480be47b2aada4219af7e5d92bd8df8c15dea75d (diff)
downloadganv-87110fbe354e0734c2436351055cdb240feda811.tar.gz
ganv-87110fbe354e0734c2436351055cdb240feda811.tar.bz2
ganv-87110fbe354e0734c2436351055cdb240feda811.zip
Avoid use of "#if 0" as a supercomment
Mainly because clang-tidy complains about it.
Diffstat (limited to 'src')
-rw-r--r--src/Canvas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index fb4e8f7..b4a8391 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -3959,11 +3959,11 @@ ganv_canvas_set_scroll_region(GanvCanvas* canvas,
scroll_to(canvas, xofs, yofs);
canvas->impl->need_repick = TRUE;
-#if 0
/* todo: should be requesting update */
+ /*
(*GANV_ITEM_CLASS(canvas->impl->root->object.klass)->update)(
canvas->impl->root, NULL, NULL, 0);
-#endif
+ */
}
void