<p><b>@kugel-</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/1813#discussion_r309704995">src/sidebar.c</a>:</p>
<pre style='color:#555'>> @@ -1100,7 +1412,7 @@ void sidebar_init(void)
        StashGroup *group;
 
        group = stash_group_new(PACKAGE);
-       stash_group_add_boolean(group, &documents_show_paths, "documents_show_paths", TRUE);
+       stash_group_add_integer(group, (gint*)&documents_show_paths, "documents_show_paths", SHOW_PATHS_LIST);
</pre>
<p>Do you suggest to check every single usage of the variable or is there some kind of point in time after which we can assume the value is sanitized?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1813?email_source=notifications&email_token=AAIOWJ6X45MGGOUHTLHD4TLQCLSODA5CNFSM4EWIWKT2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCAJDRAA#discussion_r309704995">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ47GP6X7BSMECYQJTDQCLSODANCNFSM4EWIWKTQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJYVMWBACLG6KCG32M3QCLSODA5CNFSM4EWIWKT2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCAJDRAA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/1813?email_source=notifications\u0026email_token=AAIOWJ6X45MGGOUHTLHD4TLQCLSODA5CNFSM4EWIWKT2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCAJDRAA#discussion_r309704995",
"url": "https://github.com/geany/geany/pull/1813?email_source=notifications\u0026email_token=AAIOWJ6X45MGGOUHTLHD4TLQCLSODA5CNFSM4EWIWKT2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCAJDRAA#discussion_r309704995",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>