totem r5578 - in trunk: . browser-plugin
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5578 - in trunk: . browser-plugin
- Date: Tue, 19 Aug 2008 16:10:35 +0000 (UTC)
Author: hadess
Date: Tue Aug 19 16:10:35 2008
New Revision: 5578
URL: http://svn.gnome.org/viewvc/totem?rev=5578&view=rev
Log:
2008-08-19 Bastien Nocera <hadess hadess net>
* browser-plugin/totemGMPControls.cpp:
* browser-plugin/totemGMPPlayer.cpp: A few fixes pointed out
by Christian Persch <chpe gnome org> (Helps: #547659)
Modified:
trunk/ChangeLog
trunk/browser-plugin/totemGMPControls.cpp
trunk/browser-plugin/totemGMPPlayer.cpp
Modified: trunk/browser-plugin/totemGMPControls.cpp
==============================================================================
--- trunk/browser-plugin/totemGMPControls.cpp (original)
+++ trunk/browser-plugin/totemGMPControls.cpp Tue Aug 19 16:10:35 2008
@@ -109,15 +109,14 @@
case eIsAvailable:
/* boolean isAvailable (in ACString name); */
const char *name;
- TOTEM_LOG_INVOKE (aIndex,totemGMPControls);
if (!GetStringFromArguments (argv, argc, 0, name))
return false;
- if (strcasecmp (name, "currentItem") == 0
- || strcasecmp (name, "next") == 0
- || strcasecmp (name, "pause") == 0
- || strcasecmp (name, "play") == 0
- || strcasecmp (name, "previous") == 0
- || strcasecmp (name, "stop") == 0)
+ if (g_ascii_strcasecmp (name, "currentItem") == 0
+ || g_ascii_strcasecmp (name, "next") == 0
+ || g_ascii_strcasecmp (name, "pause") == 0
+ || g_ascii_strcasecmp (name, "play") == 0
+ || g_ascii_strcasecmp (name, "previous") == 0
+ || g_ascii_strcasecmp (name, "stop") == 0)
return BoolVariant (_result, true);
return BoolVariant (_result, false);
Modified: trunk/browser-plugin/totemGMPPlayer.cpp
==============================================================================
--- trunk/browser-plugin/totemGMPPlayer.cpp (original)
+++ trunk/browser-plugin/totemGMPPlayer.cpp Tue Aug 19 16:10:35 2008
@@ -184,7 +184,6 @@
case ePlayState:
/* readonly attribute long playState; */
- TOTEM_LOG_INVOKE (aIndex,totemGMPPlayer);
return Int32Variant (_result, mPluginState);
case eStretchToFit:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]