Re: g_base_info_iterate_attributes always fails.



Hi,

On Sun, Jun 22, 2014 at 4:58 PM, Adam Stark <llamadonica gmail com> wrote:
Hi all,

I'm writing GLib bindings for dart using gobject introspection, and have
come across a problem: g_base_info_iterate_attributes always seems to return
false.

g_base_info_iterate_attributes is for generic metadata in the form:

 * Attributes: (org.foo value)

AFAIK there isn't any actual use of this in the GNOME stack.

I was hoping to use it to find the value of a ConstantInfo. What is
the appropriate way to do this?

I think you might be looking for g_constant_info_get_value:
https://developer.gnome.org/gi/stable/gi-GIConstantInfo.html#g-constant-info-get-value

-Simon


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]