[totem] zeitgeist-dp: Fix for get_video_widget() API change
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] zeitgeist-dp: Fix for get_video_widget() API change
- Date: Wed, 4 Jul 2012 10:30:23 +0000 (UTC)
commit ee6a3d58debecc60b719b258fd42153092159c8a
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jul 4 11:29:02 2012 +0100
zeitgeist-dp: Fix for get_video_widget() API change
.../zeitgeist-dp/totem-zeitgeist-dp-plugin.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/zeitgeist-dp/totem-zeitgeist-dp-plugin.vala b/src/plugins/zeitgeist-dp/totem-zeitgeist-dp-plugin.vala
index 91a62c9..086259d 100644
--- a/src/plugins/zeitgeist-dp/totem-zeitgeist-dp-plugin.vala
+++ b/src/plugins/zeitgeist-dp/totem-zeitgeist-dp-plugin.vala
@@ -174,7 +174,7 @@ class ZeitgeistDpPlugin: GLib.Object, Peas.Activatable {
if (current_media.title != null && totem.is_playing ()) {
Value val;
- var video = Totem.get_video_widget (totem) as Bacon.VideoWidget;
+ var video = totem.get_video_widget () as Bacon.VideoWidget;
video.get_metadata (Bacon.MetadataType.HAS_VIDEO, out val);
current_media.interpretation = val.get_boolean () ?
Zeitgeist.NFO_VIDEO : Zeitgeist.NFO_AUDIO;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]