geanyobject: properly register signals
commit314a5c180ee6489248e9f94306a53ab623d68178
authorThomas Martitz <kugel@rockbox.org>
Tue, 17 May 2016 11:01:34 +0000 (17 13:01 +0200)
committerThomas Martitz <kugel@rockbox.org>
Thu, 23 Jun 2016 20:33:43 +0000 (23 22:33 +0200)
tree459710312fd0a084adb7c2da798e01825c64cbf0
parentc6f1fadf0bd1517ae426f71fc702e691f1050f21
geanyobject: properly register signals

If possible, register signals with the proper argument types (boxed or gobject).
This is required for successful introspection of the signals and important
for GI-based plugins.

As for the marshallers, if available use a predefined one from glib. Otherwise
use the generic marshaller available since 2.30 (in theory all signals could
use that one but it has a bit of overhead).

This builds on the gboxed conversions of earlier commits.

This also bumps the minimum glib requirement.
 - g_cclosure_marshal_generic requires 2.30 (if NULL is passed as marshaller
   to g_signal_new())
 - G_TYPE_KEYFILE requires 2.32
configure.ac
src/geanyobject.c