Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_check.c ewl_media.c ewl_radiobutton.c
Log Message:
- minor cleanups
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_check.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- ewl_check.c 12 Jan 2006 18:21:18 -0000 1.7
+++ ewl_check.c 10 Mar 2006 04:06:43 -0000 1.8
@@ -77,11 +77,7 @@
DCHECK_PARAM_PTR("cb", cb);
DCHECK_TYPE("cb", cb, EWL_CHECK_TYPE);
- if (c)
- cb->checked = 1;
- else
- cb->checked = 0;
-
+ cb->checked = !!c;
ewl_check_update_check_cb(EWL_WIDGET(cb), NULL, NULL);
DLEAVE_FUNCTION(DLEVEL_STABLE);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_media.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_media.c 22 Feb 2006 17:39:14 -0000 1.11
+++ ewl_media.c 10 Mar 2006 04:06:43 -0000 1.12
@@ -65,6 +65,11 @@
DRETURN_INT(TRUE, DLEVEL_STABLE);
}
+/**
+ * @return Returns TRUE if the media widget is available, FALSE otherwise
+ * @brief This will check if the modules required for the media widget were
+ * available at compile time or not.
+ */
unsigned int
ewl_media_is_available(void)
{
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_radiobutton.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_radiobutton.c 17 Feb 2006 06:43:33 -0000 1.9
+++ ewl_radiobutton.c 10 Mar 2006 04:06:43 -0000 1.10
@@ -117,7 +117,7 @@
Ewl_Checkbutton *c;
ecore_list_goto_first(rb->chain);
- while ((c = ecore_list_next(rb->chain)) != NULL) {
+ while ((c = ecore_list_next(rb->chain))) {
ewl_checkbutton_checked_set(c, 0);
}
}
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs