Re: glib-mkenums in glib 2
- From: David Nečas <yeti physics muni cz>
- To: John Emmas <johne53 tiscali co uk>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: glib-mkenums in glib 2
- Date: Mon, 31 Dec 2012 18:53:30 +0100
On Mon, Dec 31, 2012 at 05:24:09PM +0000, John Emmas wrote:
> which should either be in gio/gioenums.h or alternatively,
> gio/gregistrysettingbackend.h. It's the absence of this enum that's
> causing 'g_registry_backend_get_type()' to not get auto-generated when
> glib-mkenums gets processed.
This all goes to a strange direction.
First, GRegistryBackend is not an enum, it is a subclass of
GSettingsBackend. glib-mkenums will not generated
g_registry_backend_get_type() for you.
The get-type function g_registry_backend_get_type() is provied by
gio/gregistrysettingsbackend.c. Which is built only on MS Windows
(using the standard Makefiles, see the if OS_WIN32 condition there). So
might it be that you do not compile it into gio?
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]