Help! I give up! I'm getting this error with a mouse click using fnmatch in an Edje script.
EDJE: ERROR with embryo script.
ENTRY POINT: _p0
ERROR: Invalid memory access
I've reduced the Edje file to this and still can't see a problem. If
its not error in the code I'll file a ticket.
Thanks for any help,
digger
--------------------------------------------------------------
collections {
group {
name: "main";
script {
public toggle() {
set_state(PART:"button", "active", 0.0);
}
}
parts {
part {
name: "button";
type: RECT;
mouse_events: 1;
description {
state: "default" 0.0;
color: 0 255 0 255;
}
description {
state: "active" 0.0;
color: 0 0 255 255;
}
}
}
programs {
program {
name: "set";
signal: "mouse,clicked,1";
source: "*button*";
script {
// If call the function here it works
// toggle();
new exp[] = "button";
// These expressions work okay
//if ( !strcmp(exp, "button")) {
//if ( !fnmatch("button", src) ) {
if ( !fnmatch(exp, src) ) {
toggle();
}
}
}
}
}
}
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
