Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src
Modified Files:
ewl_spinner.c
Log Message:
Oops, pass the pointer to the double, not the double itself.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_spinner.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -3 -r1.44 -r1.45
--- ewl_spinner.c 23 Feb 2004 15:25:32 -0000 1.44
+++ ewl_spinner.c 23 Feb 2004 15:28:29 -0000 1.45
@@ -437,9 +437,11 @@
ewl_entry_set_text(EWL_ENTRY(s->entry), str);
- if (oval != s->value)
+ if (oval != s->value) {
+ oval = s->value;
ewl_callback_call_with_event_data(EWL_WIDGET(s),
- EWL_CALLBACK_VALUE_CHANGED, s->value);
+ EWL_CALLBACK_VALUE_CHANGED, &oval);
+ }
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs