Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src
Modified Files:
ewl_password.c ewl_password.h
Log Message:
api breakage, ewl_password this time
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_password.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_password.c 28 May 2004 19:55:15 -0000 1.8
+++ ewl_password.c 23 Aug 2004 00:18:59 -0000 1.9
@@ -53,7 +53,7 @@
ewl_callback_append(w, EWL_CALLBACK_DESTROY, ewl_password_destroy,
NULL);
- ewl_password_set_text(e, text);
+ ewl_password_text_set(e, text);
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
@@ -66,7 +66,7 @@
*
* Change the text of the password widget @a e to the string @a t.
*/
-void ewl_password_set_text(Ewl_Password * e, char *t)
+void ewl_password_text_set(Ewl_Password * e, char *t)
{
char *vis = NULL;
int len;
@@ -101,7 +101,7 @@
* @return Returns the password text on success, NULL on failure.
* @brief Get the text from an password widget
*/
-char *ewl_password_get_text(Ewl_Password * e)
+char *ewl_password_text_get(Ewl_Password * e)
{
Ewl_Widget *w;
@@ -119,7 +119,7 @@
* @return Returns the character value of the obscuring character.
* @brief Retrieves the character used to obscure the text for a password.
*/
-char ewl_password_get_obscure(Ewl_Password * e)
+char ewl_password_obscure_get(Ewl_Password * e)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("e", e, 0);
@@ -133,7 +133,7 @@
* @return Returns no value.
* @brief Sets the character used to obscure the text for a password.
*/
-void ewl_password_set_obscure(Ewl_Password * e, char o)
+void ewl_password_obscure_set(Ewl_Password * e, char o)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("e", e);
@@ -143,7 +143,7 @@
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
-void ewl_password_insert_text(Ewl_Password * e, char *s)
+void ewl_password_text_insert(Ewl_Password * e, char *s)
{
char *s2, *s3;
int l = 0, l2 = 0;
@@ -151,7 +151,7 @@
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("e", e);
- s2 = ewl_password_get_text(e);
+ s2 = ewl_password_text_get(e);
if (s)
l = strlen(s);
if (s2)
@@ -169,7 +169,7 @@
if (s)
strcat(s3, s);
- ewl_password_set_text(e, s3);
+ ewl_password_text_set(e, s3);
IF_FREE(s2);
FREE(s3);
@@ -211,7 +211,7 @@
ewl_callback_call_with_event_data(w, EWL_CALLBACK_VALUE_CHANGED,
EWL_TEXT(w)->text);
else if (ev->keyname) {
- ewl_password_insert_text(e, ev->keyname);
+ ewl_password_text_insert(e, ev->keyname);
}
DLEAVE_FUNCTION(DLEVEL_STABLE);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_password.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_password.h 28 May 2004 19:55:15 -0000 1.3
+++ ewl_password.h 23 Aug 2004 00:18:59 -0000 1.4
@@ -37,12 +37,12 @@
Ewl_Widget *ewl_password_new(char *text);
void ewl_password_init(Ewl_Password * e, char *text);
-void ewl_password_set_text(Ewl_Password * e, char *t);
-char *ewl_password_get_text(Ewl_Password * e);
-void ewl_password_set_obscure(Ewl_Password * e, char o);
-char ewl_password_get_obscure(Ewl_Password * e);
+void ewl_password_text_set(Ewl_Password * e, char *t);
+char *ewl_password_text_get(Ewl_Password * e);
+void ewl_password_obscure_set(Ewl_Password * e, char o);
+char ewl_password_obscure_get(Ewl_Password * e);
-void ewl_password_insert_text(Ewl_Password * e, char *s);
+void ewl_password_text_insert(Ewl_Password * e, char *s);
/*
* Internally used callbacks, override at your own risk.
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs