[totem] No need to call _play() in the properties



commit 7fa67887aaab0a3d2d4950d01cb6c38a1064a451
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Nov 16 14:06:00 2009 +0000

    No need to call _play() in the properties
    
    It's a no-op in metadata mode.

 src/totem-properties-view.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/totem-properties-view.c b/src/totem-properties-view.c
index 07de850..7716400 100644
--- a/src/totem-properties-view.c
+++ b/src/totem-properties-view.c
@@ -182,13 +182,6 @@ totem_properties_view_set_location (TotemPropertiesView *props,
 			return;
 		}
 
-		if (bacon_video_widget_play (props->priv->bvw, &error) == FALSE) {
-			g_warning ("Couldn't play %s: %s", location, error->message);
-			g_error_free (error);
-			bacon_video_widget_close (props->priv->bvw);
-			return;
-		}
-
 		bacon_video_widget_close (props->priv->bvw);
 	} else {
 		if (props->priv->bvw != NULL)



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