Re: [Tracker] Wrong version information



Halton Huo wrote:
On Mon, 2008-03-17 at 18:03 +0100, Peter Rullmann wrote:
Hi,

it seems updating the integer version information of trackerd was
forgotten with the previous releases. The dbus method GetVersion
returns the wrong version. Here's the diff:


Index: src/trackerd/tracker-utils.h
===================================================================
--- src/trackerd/tracker-utils.h        (revision 1231)
+++ src/trackerd/tracker-utils.h        (working copy)
@@ -47,7 +47,7 @@

 #define TRACKER_DB_VERSION_REQUIRED    13
 #define TRACKER_VERSION                        VERSION
Can we use TRACKER_VERSION instead?

Since only tracker_dbus_method_get_version () use this macro, we could
convert the string "0.6.6" into integer in this function. 

I think we should yes.

-- 
Regards,
Martyn



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