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

GValueArray is deprecated #1

Open
detrout opened this issue Mar 13, 2017 · 1 comment
Open

GValueArray is deprecated #1

detrout opened this issue Mar 13, 2017 · 1 comment

Comments

@detrout
Copy link
Member

detrout commented Mar 13, 2017

While struggling with trying to figure out how to send a a{sa(ss)} result over dbus with gabble (instead of a{sa{ss}} which worked) I tried to use a GValueArray for the a(ss) portion. However apparently g_value_array_new () is deprecated, and current code is supposed to use g_array_new ().

Does gabble need to be updated to GArray? GValueArray is used in a few places.

(Also FWIW, the a{sa(ss)} was my attempt to return the list of commands from xep 50 as {"jid to send commands to": [("node", "name"),]}

But so far all my attempts to create that data structure using gvalues are failing.

Also the freedesktop bug tracker isn't letting me log in right now.

@gkiagia
Copy link
Member

gkiagia commented Mar 13, 2017

I am aware of this. The idea is to move to GVariant together with the port to GDBus. See the gkiagia/gdbus-all branch.

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