[Nice] [nice/master] NICE_COMPATIBILITY_LAST = NICE_COMPATIBILITY_MSN .. better this way

Youness Alaoui youness.alaoui at collabora.co.uk
Wed Nov 5 14:01:00 PST 2008


darcs-hash:20080422211225-4f0f6-0c57b5ee3e5cc4e2af669a4a3f24f3dc4da552dc.gz
---
 agent/agent.c |    2 +-
 agent/agent.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/agent/agent.c b/agent/agent.c
index a3445ad..e81f9ac 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -205,7 +205,7 @@ nice_agent_class_init (NiceAgentClass *klass)
          "compatibility",
          "ICE specification compatibility",
          "The compatibility mode for the agent",
-         NICE_COMPATIBILITY_ID19, NICE_COMPATIBILITY_LAST-1,
+         NICE_COMPATIBILITY_ID19, NICE_COMPATIBILITY_LAST,
          NICE_COMPATIBILITY_ID19,
          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
diff --git a/agent/agent.h b/agent/agent.h
index a8f6804..254434f 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -101,7 +101,7 @@ typedef enum
   NICE_COMPATIBILITY_ID19,
   NICE_COMPATIBILITY_GOOGLE,
   NICE_COMPATIBILITY_MSN,
-  NICE_COMPATIBILITY_LAST
+  NICE_COMPATIBILITY_LAST = NICE_COMPATIBILITY_MSN
 } NiceCompatibility;
 
 typedef struct _NiceCandidateDesc NiceCandidateDesc;
-- 
1.5.6.5




More information about the Nice mailing list