[Player-cvs] app/gtk photoslideshow.cpp,1.1.2.26,1.1.2.27

[Player-cvs] app/gtk photoslideshow.cpp,1.1.2.26,1.1.2.27

sgarg at helixcommunity.org sgarg at helixcommunity.org
Wed May 19 21:48:07 PST 2010


Update of /cvsroot/player/app/gtk
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv17697

Modified Files:
      Tag: hxclient_3_1_0_atlas
	photoslideshow.cpp 
Log Message:
Replacing g_strcmp0 with strcmp as build is breaking on buildfarm due to g_strcmp0

Index: photoslideshow.cpp
===================================================================
RCS file: /cvsroot/player/app/gtk/Attic/photoslideshow.cpp,v
retrieving revision 1.1.2.26
retrieving revision 1.1.2.27
diff -u -d -r1.1.2.26 -r1.1.2.27
--- photoslideshow.cpp	19 May 2010 05:25:04 -0000	1.1.2.26
+++ photoslideshow.cpp	20 May 2010 05:48:04 -0000	1.1.2.27
@@ -283,9 +283,9 @@
     // As upper case and lower case characters are different.
     // So if extension is in upper case then convert it into the lower case.
     // because all supported extensions are in lower case as for the API gdk_pixbuf_save.
-    if ((0 == g_strcmp0 (format, "PNG")) ||(0 == g_strcmp0 (format, "BMP")) 
-		||(0 == g_strcmp0 (format, "JPG")) ||(0 == g_strcmp0 (format, "JPEG")) 
-		||(0 == g_strcmp0 (format, "GIF")) ||(0 == g_strcmp0 (format, "WBMP")))
+    if ((0 == strcmp (format, "PNG")) ||(0 == strcmp (format, "BMP")) 
+		||(0 == strcmp (format, "JPG")) ||(0 == strcmp (format, "JPEG")) 
+		||(0 == strcmp (format, "GIF")) ||(0 == strcmp (format, "WBMP")))
     {
         pTempFormat = g_strdup(format);
         format = g_strdown(pTempFormat);	
@@ -377,9 +377,9 @@
     // As upper case and lower case characters are different.
     // So if extension is in upper case then convert it into the lower case.
     // because all supported extensions are in lower case as for the API gdk_pixbuf_save.
-    if ((0 == g_strcmp0 (format, "PNG")) || (0 == g_strcmp0 (format, "BMP")) 
-       	||(0 == g_strcmp0 (format, "JPG")) ||(0 == g_strcmp0 (format, "JPEG")) 
-		||(0 == g_strcmp0 (format, "GIF")) ||(0 == g_strcmp0 (format, "WBMP")))
+    if ((0 == strcmp(format, "PNG")) || (0 == strcmp (format, "BMP")) 
+       	||(0 == strcmp (format, "JPG")) ||(0 == strcmp (format, "JPEG")) 
+		||(0 == strcmp (format, "GIF")) ||(0 == strcmp (format, "WBMP")))
     {
         pTempFormat = g_strdup(format);
         format = g_strdown(pTempFormat);	




More information about the Player-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.