[Tracker] sorry for all these fixes :-P

yet another segfault in tracker. this one was caused by sending bad
metadata types to GetTypeDetails, and fixes some weird coding style
and nested ifs. this could be done better with goto's, but i wasn't
sure how much aversion you had to them (they're useful sometimes :-)
anyways, how many of these dbus functions are going to change? is the
current interface going to stay stable for a while? i had a few
suggestions, such as changing Metadata.Get to accept a list of URI's
so that one wouldn't have to call it many times for a list of files...
anyways, just a suggestion. patch attached as usual

samuel cormier-iijima

Attachment: another-segfault.patch
Description: Text Data

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