diff options
author | Bastien Nocera <hadess@hadess.net> | 2008-08-19 16:10:35 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2008-08-19 16:10:35 +0000 |
commit | 42fbb31739f606b70ca74f8622e119b3f45f03e9 (patch) | |
tree | 586c72c0a3e8ae6e968a320a79dac442ea56a4ce /browser-plugin/totemGMPControls.cpp | |
parent | 01950c7ba72209a44cc4e1b7772b5b9396e7da67 (diff) | |
download | totem-42fbb31739f606b70ca74f8622e119b3f45f03e9.tar.gz |
A few fixes pointed out by Christian Persch <chpe@gnome.org> (Helps:
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)
svn path=/trunk/; revision=5578
Diffstat (limited to 'browser-plugin/totemGMPControls.cpp')
-rw-r--r-- | browser-plugin/totemGMPControls.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/browser-plugin/totemGMPControls.cpp b/browser-plugin/totemGMPControls.cpp index 72126d185..96f00bb41 100644 --- a/browser-plugin/totemGMPControls.cpp +++ b/browser-plugin/totemGMPControls.cpp @@ -109,15 +109,14 @@ totemGMPControls::InvokeByIndex (int aIndex, 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); |