After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711120 - glibtop_get_proclist() returns a number instead of an array in GI bindings
glibtop_get_proclist() returns a number instead of an array in GI bindings
Status: RESOLVED DUPLICATE of bug 734170
Product: libgtop
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libgtop maintainers
libgtop maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-30 06:45 UTC by Nikil Mehta
Modified: 2016-06-19 20:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nikil Mehta 2013-10-30 06:45:54 UTC
I've been trying to get a list of pids for a gnome shell extension using the libgtop GI bindings, and glibtop_get_proclist() is currently returning a number.  I would guess this represents a pointer; however, it should be returning an array of pids, since one can't do much with a pointer in javascript.

I'm not sure exactly where this bug should be filed, so if this is the wrong place let me know.  Thanks!
Comment 1 Robert Roth 2014-08-20 01:18:35 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

Marking this one as a duplicate of the more recent one as that one contains more details, a proposed patch and a test application too.

*** This bug has been marked as a duplicate of bug 734170 ***