This fixes the warning when running the advanced -> icon test in
ewl_test. I'm not positive its correct, but figured I'd drop it to the
list for furthur review.
--
Nick Hughart
Code poet, Linux user, and web developer all in one.
? ewl_icon_fix.diff
Index: ewl_icon.c
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_icon.c,v
retrieving revision 1.20
diff -u -r1.20 ewl_icon.c
--- ewl_icon.c 8 Oct 2006 17:26:22 -0000 1.20
+++ ewl_icon.c 17 Nov 2006 05:36:08 -0000
@@ -494,7 +494,7 @@
* alt text */
img = ewl_icon_theme_icon_path_get(EWL_ICON_IMAGE_LOADING, NULL);
file = ewl_icon_image_file_get(icon);
- if (!icon->image || !strcmp(img, file))
+ if (icon->image && !strcmp(img, file))
{
ewl_widget_hide(icon->image);
ewl_widget_show(icon->alt);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel