[gecko-mediaplayer] r508 committed - Clean up some depreciated symbol warnings

3 views
Skip to first unread message

codesite...@google.com

unread,
Jul 7, 2012, 8:39:27 AM7/7/12
to gecko-mediap...@googlegroups.com
Revision: 508
Author: kdekorte
Date: Sat Jul 7 05:39:06 2012
Log: Clean up some depreciated symbol warnings
http://code.google.com/p/gecko-mediaplayer/source/detail?r=508

Modified:
/trunk/ChangeLog
/trunk/src/plugin.cpp

=======================================
--- /trunk/ChangeLog Mon Jul 2 09:01:48 2012
+++ /trunk/ChangeLog Sat Jul 7 05:39:06 2012
@@ -1,4 +1,5 @@
Development
+ Clean up some depreciated symbol warnings
Convert plugin_list to use gm_log
Convert the majority of the code to use gm_log instead of printf
1.0.6
=======================================
--- /trunk/src/plugin.cpp Mon Jul 2 09:01:48 2012
+++ /trunk/src/plugin.cpp Sat Jul 7 05:39:06 2012
@@ -2015,15 +2015,15 @@
arg = g_strdup(NPVARIANT_TO_STRING(args[0]).utf8characters);
#endif

- if (g_strcasecmp(arg, "title") == 0) {
+ if (g_ascii_strcasecmp(arg, "title") == 0) {
STRINGZ_TO_NPVARIANT(strdup
(request_string_value(pPlugin,
pPlugin->lastopened, "GetTitle")),
*result);
- } else if (g_strcasecmp(arg, "uri") == 0) {
+ } else if (g_ascii_strcasecmp(arg, "uri") == 0) {
STRINGZ_TO_NPVARIANT(strdup
(request_string_value(pPlugin,
pPlugin->lastopened, "GetURI")),
*result);
- } else if (g_strcasecmp(arg, "bitrate") == 0) {
+ } else if (g_ascii_strcasecmp(arg, "bitrate") == 0) {
pPlugin->GetBitrate(&i);
INT32_TO_NPVARIANT(i, *result);
} else {
Reply all
Reply to author
Forward
0 new messages