<p>I really don't like this PR: too much code, too much copy, and all this for getting rid of deprecation warnings -- where this code actually has to support the deprecated API.</p>
<blockquote>
<p><strong>Edit:</strong> I also just noticed the <code>G_GNUC_*_IGNORE_DEPRECATIONS</code> macro, maybe tricky stuff could be wrapped directly</p>
</blockquote>
<p>Yes, that sounds like a good solution.</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-plugins/pull/865?email_source=notifications&email_token=AAIOWJ5S6VKTV7TUHZUPNVLRBWGI3A5CNFSM4HN2FXNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELDW53A#issuecomment-583495404">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6FWXTCEF72XV3CGWDRBWGI3ANCNFSM4HN2FXNA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ447NEA56XXQVDNHXTRBWGI3A5CNFSM4HN2FXNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELDW53A.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-plugins/pull/865?email_source=notifications\u0026email_token=AAIOWJ5S6VKTV7TUHZUPNVLRBWGI3A5CNFSM4HN2FXNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELDW53A#issuecomment-583495404",
"url": "https://github.com/geany/geany-plugins/pull/865?email_source=notifications\u0026email_token=AAIOWJ5S6VKTV7TUHZUPNVLRBWGI3A5CNFSM4HN2FXNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELDW53A#issuecomment-583495404",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>