Stas Bekman <[EMAIL PROTECTED]> [27-04-2004 00:15]:
> Cool, so we have Radoslaw, who understands in glib/gnome and forwarded a 
[...]

Uh, not really... :-)  I just poked around in the *.h files / libgtop's
documentation / changelogs and hacked it until it built.

> Radoslaw, do you know how can we #ifdef on 2.0.6 in the C code? I spent 
> hours trying to figure it out but in vain. The only way I see is to run

> pkgconfig --modversion libgtop-2.0

Looks like a proper solution to me.

> and then define our own define, which I did here:
> http://apache.org/~stas/GTop-0.13.tar.gz (which is not quite working, 
> because of the missing glibtop_free symbol.)

Changelog says, that all custom memory management routines have been
substituted by those from glib.  Therefore, glibtop_free became g_free.
I couldn't find any references to glibtop_free_r (I'm too lazy to search
in diffs between versions ;-), but it appears, that only the second
(IIRC) argument needs to be freed, so I used the g_free as well.

-- 
Radosław Zieliński <[EMAIL PROTECTED]>
[ GPG key: http://radek.karnet.pl/ ]

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to