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

Fix GType and add $gtype properties #15

Merged
merged 3 commits into from
Jul 14, 2019
Merged

Fix GType and add $gtype properties #15

merged 3 commits into from
Jul 14, 2019

Conversation

realh
Copy link
Contributor

@realh realh commented Jul 11, 2019

Consulting the wkik I found that in gjs GType is not represented as a number, but an object with a name field; its numeric value is not made public. Classes should have a static $gtype: Object.GType member so one can read their type.

@sammydre sammydre merged commit c467a27 into gjsify:master Jul 14, 2019
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

Successfully merging this pull request may close these issues.

2 participants