Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builder doesn't work with other GTK libraries #317

Open
Ryhon0 opened this issue Jan 4, 2021 · 1 comment
Open

Builder doesn't work with other GTK libraries #317

Ryhon0 opened this issue Jan 4, 2021 · 1 comment

Comments

@Ryhon0
Copy link

Ryhon0 commented Jan 4, 2021

When opening a glade file, which contains widgets from other GTK libraries (vte, source view, libhandy, etc.) it throws a 'Invalid object type '...'' exception.

For example, opening a file, that has the HdyLeaflet widget from libhandy will throw this:

glib.GException.GException@/home/ryhon/.dub/packages/gtk-d-3.9.0/gtk-d/generated/gtkd/glib/GException.d(41): .:10:1 Invalid object type 'HdyLeaflet'

This link might help. It says something about libraries loaded into the global and local symbol namespace

@MikeWey
Copy link
Member

MikeWey commented Jan 4, 2021

GtkD is already using RTLD_GLOBAL so that shouldn't be the issue: https://github.com/gtkd-developers/GtkD/blob/master/generated/gtkd/gtkd/Loader.d#L433

Does adding a dummy allocation like in that thread also work for GtkD?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants