<p><code>strtol()</code> requires including <code>stdlib.h</code>, but you could also use one of the GDK functions such as <a href="https://developer.gnome.org/gdk3/stable/gdk3-RGBA-Colors.html#gdk-rgba-parse" rel="nofollow"><code>gdk_rgba_parse()</code></a> to parse the colour string or expose <a href="https://github.com/geany/geany/blob/5cc69b3d6728a714637caabf0238759363e91e85/src/utils.h#L284">one of the functions</a> already in Geany to the plugin API and use that.</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/940?email_source=notifications&email_token=AAIOWJZ6E4DXSNGKKLXOJCDQ4K3AHA5CNFSM4KC6CPEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIENHPA#issuecomment-571003836">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ73G2MQPFDFF55P66DQ4K3AHANCNFSM4KC6CPEA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJY5NZEWXTAPGYAXLVDQ4K3AHA5CNFSM4KC6CPEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIENHPA.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/940?email_source=notifications\u0026email_token=AAIOWJZ6E4DXSNGKKLXOJCDQ4K3AHA5CNFSM4KC6CPEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIENHPA#issuecomment-571003836",
"url": "https://github.com/geany/geany-plugins/pull/940?email_source=notifications\u0026email_token=AAIOWJZ6E4DXSNGKKLXOJCDQ4K3AHA5CNFSM4KC6CPEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIENHPA#issuecomment-571003836",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>