Re: [Tracker] tracker-tags-plugin for Nautilus



As advised by Philip (on IRC), I created a separate branch locally and
replaced the broken Nautilus extension written in Python using my
code.

Here is the patch:
http://rishi.fedorapeople.org/0001-Added-a-new-Nautilus-extension-for-managing-tags.patch

There are some known memory leaks and I do not know how to fix them. I
need to pass two custom values to the callbacks for the menu items.
eg., a GtkWindow * and a TrackerTagsPlugin *. So I g_new0 an array of
void *, put each value into each element of the array and pass the
array to the callback. Now I can not g_free the array within the
callback because subsequent invocations of the callback will crash.
How do I do it then?

Happy hacking,
Debarshi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]