Send gnome-keyring-list mailing list submissions to
gnome-keyring-list gnome org
To subscribe or unsubscribe via the World Wide Web, visit
https://mail.gnome.org/mailman/listinfo/gnome-keyring-list
or, via email, send a message with subject or body 'help' to
gnome-keyring-list-request gnome org
You can reach the person managing the list at
gnome-keyring-list-owner gnome org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of gnome-keyring-list digest..."
Today's Topics:
1. Secret.Collection.get_label() (xor)
----------------------------------------------------------------------
Message: 1
Date: Wed, 19 Aug 2015 13:02:35 +0100
From: xor <gnome idlecore com>
To: gnome-keyring-list gnome org
Subject: gnome-keyring Secret.Collection.get_label()
Message-ID: <55D4705B 9030905 idlecore com>
Content-Type: text/plain; charset=utf-8; format=flowed
I've read the documentation for the get_label() method at:
https://lazka.github.io/pgi-docs/#Secret-1/classes/Collection.html#Secret.Collection.get_label
There is a note there mentioning that the label returned should be freed
with GLib.free(). I tried that and I get the following error:
ValueError: Pointer arguments are restricted to integers, capsules, and
None. See: https://bugzilla.gnome.org/show_bug.cgi?id=683599
I read the bug report, but I couldn't understand it. I considered the
possibility that the documentation might be outdated, and the label
doesn't required manual memory management anymore. I tried running this
function a million times and see if the memory footprint of my program
would increase. I noticed no increase. I'm still not sure though.
Could someone please clear this up for me?
------------------------------
Subject: Digest Footer
_______________________________________________
gnome-keyring-list mailing list
gnome-keyring-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-keyring-list
------------------------------
End of gnome-keyring-list Digest, Vol 73, Issue 4
*************************************************