Hi Aleksey,
Perhaps a solution is to prefix the name returned by
g_base_info_get_name
with the namespace's C prefix returned by
g_irepository_get_c_prefix
I think this will reconstruct the C name because (somebody correct me if
I'm wrong) the names in the GIR metadata are derived by strippin
Thanks Jasper
I've somehow overlooked that GIEnumInfo is inherited GIRegisteredTypeInfo, not
directly from GIBaseInfo.
Unfortunately, g_registered_type_info_get_type_name() returns NULL. I've also
tried g_registered_type_info_get_g_type & g_type_name:
GType type = g_registered_type_info
You can try g_registered_type_info_get_type_name(), but mind asking why you
want to know?
On Sun, Nov 17, 2013 at 11:33 AM, Aleksey wrote:
> Hi guys
>
>
>
> I am trying to use GIRepository (version 1.38) to retrieve Enumeration
> details and I'm wondering how to retrieve C-name of Enum. For ex
Hi guys
I am trying to use GIRepository (version 1.38) to retrieve Enumeration details
and
I'm wondering how to retrieve C-name of Enum. For example, I have GIEnumInfo
instance for GBookmarkFileError
(https://developer.gnome.org/glib/2.38/glib-Bookmark-file-parser.html#GBookmarkFileError).
Ca