gnome-keyring Secret.Collection.get_label()
- From: xor <gnome idlecore com>
- To: gnome-keyring-list gnome org
- Subject: gnome-keyring Secret.Collection.get_label()
- Date: Wed, 19 Aug 2015 13:02:35 +0100
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?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]