gtkbuilder: should allow values of type GType
Submitted by Nubosch
Assigned to GtkBuilder maintainers
Created attachment 359524 code snipped allowing GType values
parsing GType values allows e.g. objects with GType properties or GtkListStore with GType column.
this would get rid of error "Unsupported GType 'GType'"
I can get it working on my system using the attached snipped which looks like a naive hack to me. I assume this is not true on all systems?
g_assert(G_TYPE_FUNDAMENTAL(G_TYPE_GTYPE) == G_TYPE_POINTER);
Maybe someone can point out a fancy #ifdef, the correct approach or give me a hint why this is a bad idea at all.
Attachment 359524, "code snipped allowing GType values":