]> git.0d.be Git - empathy.git/commitdiff
Add/Remove preview window can be done at anytime, the call don't have to be running.
authorXavier Claessens <xclaesse@src.gnome.org>
Wed, 16 Apr 2008 08:34:57 +0000 (08:34 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Wed, 16 Apr 2008 08:34:57 +0000 (08:34 +0000)
svn path=/trunk/; revision=949

libempathy/empathy-tp-call.c

index 9202fc4a9e7d69fa568de206718844760f3c1214..e39389eae1a55b3fd455b6f41890310c01bbb4f0 100644 (file)
@@ -712,7 +712,6 @@ empathy_tp_call_add_preview_video (EmpathyTpCall *call,
   EmpathyTpCallPriv *priv = GET_PRIV (call);
 
   g_return_if_fail (EMPATHY_IS_TP_CALL (call));
-  g_return_if_fail (priv->status != EMPATHY_TP_CALL_STATUS_CLOSED);
 
   empathy_debug (DEBUG_DOMAIN, "Adding preview video");
 
@@ -730,7 +729,6 @@ empathy_tp_call_remove_preview_video (EmpathyTpCall *call,
   EmpathyTpCallPriv *priv = GET_PRIV (call);
 
   g_return_if_fail (EMPATHY_IS_TP_CALL (call));
-  g_return_if_fail (priv->status != EMPATHY_TP_CALL_STATUS_CLOSED);
 
   empathy_debug (DEBUG_DOMAIN, "Removing preview video");