app: fix parent check for extension files.
commita8f1a18b119e00b2ddb9f14a5240d93942a74a1d
authorJehan <jehan@girinstud.io>
Mon, 2 Jul 2018 22:21:19 +0000 (3 00:21 +0200)
committerJehan <jehan@girinstud.io>
Mon, 2 Jul 2018 22:21:19 +0000 (3 00:21 +0200)
treeca816be0e67b1686280185212f4f4eafd29ad913
parent87b17944e986ffac504fd0faf98451127066ab56
app: fix parent check for extension files.

I realize that g_file_has_parent() is only looking for the direct
parent. I want to look for any ancester, so I loop through parents (with
a limit to avoid infinite looping with symlinks and such).
app/core/gimpextension.c