[Telepathy-commits] [telepathy-gabble/master] Update Hold API docs from telepathy-spec 0.17.3.1

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Aug 19 10:52:14 PDT 2008


20080508085748-53eee-1178baec38694b13f5307992dbed04363859a249.gz
---
 extensions/Channel_Interface_Hold.xml |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/extensions/Channel_Interface_Hold.xml b/extensions/Channel_Interface_Hold.xml
index 6c5c5ba..6279559 100644
--- a/extensions/Channel_Interface_Hold.xml
+++ b/extensions/Channel_Interface_Hold.xml
@@ -19,8 +19,7 @@ License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   </tp:license>
 
-  <interface name="org.freedesktop.Telepathy.Channel.Interface.Hold"
-    tp:causes-havoc='not yet API-stable'>
+  <interface name="org.freedesktop.Telepathy.Channel.Interface.Hold">
     <tp:requires interface="org.freedesktop.Telepathy.Channel.Type.StreamedMedia"/>
 
     <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
@@ -155,12 +154,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
         <p>If the connection manager can immediately tell that the requested
           state change could not possibly succeed, this method SHOULD
-          return the NotAvailable error.</p>
+          return the NotAvailable error. If the requested state is the
+          same as the current state, this method SHOULD return successfully
+          without doing anything.</p>
 
         <p>Otherwise, this method SHOULD immediately set the hold state to
           Local_Hold_State_Pending_Hold or Local_Hold_State_Pending_Unhold
-          (as appropriate), emitting HoldStateChanged, and return
-          successfully.</p>
+          (as appropriate), emitting HoldStateChanged if this is a change,
+          and return successfully.</p>
 
         <p>The eventual success or failure of the request is indicated by a
           subsequent HoldStateChanged signal, changing the hold state to
-- 
1.5.6.3




More information about the Telepathy-commits mailing list