Enlightenment CVS committal Author : codewarrior Project : e17 Module : proto
Dir : e17/proto/etk/src/lib Modified Files: etk_main.c etk_tooltips.c Log Message: - include file to avoid warning - better check on tooltip timer =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_main.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- etk_main.c 5 Mar 2006 23:52:58 -0000 1.16 +++ etk_main.c 9 Mar 2006 00:10:52 -0000 1.17 @@ -14,6 +14,7 @@ #include "etk_utils.h" #include "etk_theme.h" #include "etk_dnd.h" +#include "etk_tooltips.h" #include "config.h" /** =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/etk/src/lib/etk_tooltips.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- etk_tooltips.c 6 Mar 2006 22:49:12 -0000 1.3 +++ etk_tooltips.c 9 Mar 2006 00:10:52 -0000 1.4 @@ -220,8 +220,7 @@ return; etk_widget_hide(_etk_tooltips_window); - if(_etk_tooltips_timer) - ecore_timer_del(_etk_tooltips_timer); + _etk_tooltips_timer = NULL; _etk_tooltips_cur_object = NULL; } @@ -240,6 +239,8 @@ /* Timer callback, pops up the tooltip */ static int _etk_tooltips_timer_cb(void *data) { + if(!_etk_tooltips_timer || !_etk_tooltips_cur_object) + return; etk_tooltips_pop_up(ETK_WIDGET(_etk_tooltips_cur_object)); return 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs