gplugin/gplugin

Fix plugin search with GLib 2.69.

2021-07-30, Elliott Sales de Andrade
fd4bb8956d03
Fix plugin search with GLib 2.69.

Named groups in `GRegex` with GLib 2.69 appear to return empty, not `NULL` strings, so handle that when running version comparison.

This is actually what GLib documents should happen, but I guess didn't work right before.

Testing Done:
Compiled and ran tests on Fedora Rawhide with GLib 2.69.

Reviewed at https://reviews.imfreedom.org/r/856/
<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
]>
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
<bookinfo>
<title>GPlugin Reference Manual</title>
<abstract>
<title>GPlugin &version;</title>
<para>
GPlugin is a GObject based library that implements a reusable plugin
system that supports loading plugins in other languages via loaders.
GPlugin also implements dependencies among the plugins.
</para>
<para>
The latest version of this documentation can be found on-line at
<ulink role="online-location" url="https://docs.pidgin.im/gplugin/latest">https://docs.pidgin.im/gplugin/latest/</ulink>.
</para>
</abstract>
</bookinfo>
<part id="tutorials">
<title>Tutorials</title>
<xi:include href="embedding.xml"/>
<xi:include href="genie.xml"/>
<xi:include href="lua.xml"/>
<xi:include href="native-plugins.xml"/>
<xi:include href="perl5.xml"/>
<xi:include href="python3.xml"/>
<xi:include href="vala.xml"/>
</part>
<part id="object-hierarchy">
<title>Object Hierarchy</title>
<xi:include href="xml/tree_index.sgml"/>
</part>
<part id="API">
<title>API Reference</title>
<xi:include href="xml/gplugin-core.xml"/>
<xi:include href="xml/gplugin-loader.xml"/>
<xi:include href="xml/gplugin-manager.xml"/>
<xi:include href="xml/gplugin-options.xml"/>
<xi:include href="xml/gplugin-plugin-info.xml"/>
<xi:include href="xml/gplugin-plugin.xml"/>
<xi:include href="xml/gplugin-version.xml"/>
</part>
<part id="Native API">
<title>Native API Reference</title>
<xi:include href="xml/gplugin-native-loader.xml"/>
<xi:include href="xml/gplugin-native-plugin.xml"/>
</part>
<index id="api-index-full">
<title>Index</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
</index>
<index id="api-index-deprecated" role="deprecated">
<title>Index of deprecated symbols</title>
<xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
</index>
<index id="api-0.31.0">
<title>Index of new symbols in 0.31.0</title>
<xi:include href="xml/api-index-0.31.0.xml"><xi:fallback /></xi:include>
</index>
<xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
</book>