[tracker] tracker-sparql: Drop use of 'Deprecated'



commit ead7adaef5dabfb4224aab120f7edc2022dcd97e
Author: Zeeshan Ali <zeenix gmail com>
Date:   Thu Oct 6 14:06:34 2016 +0200

    tracker-sparql: Drop use of 'Deprecated'
    
    Otherwise, valac spits warnings for each 'Deprecated' line
    when building tracker-sparql and any Vala code that uses
    tracker-sparql.

 src/libtracker-sparql/tracker-connection.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-sparql/tracker-connection.vala b/src/libtracker-sparql/tracker-connection.vala
index 1c6b976..ad97f98 100644
--- a/src/libtracker-sparql/tracker-connection.vala
+++ b/src/libtracker-sparql/tracker-connection.vala
@@ -186,7 +186,7 @@ public abstract class Tracker.Sparql.Connection : Object {
         *
         * Deprecated: 0.12: Use tracker_sparql_connection_get_async instead.
         */
-       [Deprecated]
+       [Version (deprecated=true)]
        public extern async static Connection get_direct_async (Cancellable? cancellable = null) throws 
Sparql.Error, IOError, DBusError, SpawnError;
 
        /**
@@ -207,7 +207,7 @@ public abstract class Tracker.Sparql.Connection : Object {
         *
         * Deprecated: 0.12: Use tracker_sparql_connection_get instead.
         */
-       [Deprecated]
+       [Version (deprecated=true)]
        public extern static new Connection get_direct (Cancellable? cancellable = null) throws Sparql.Error, 
IOError, DBusError, SpawnError;
 
        /**


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