Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_entry.c
Log Message:
Let the container callback destroy the child cursor.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_entry.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- ewl_entry.c 16 Nov 2005 23:36:28 -0000 1.35
+++ ewl_entry.c 17 Nov 2005 06:44:17 -0000 1.36
@@ -8,8 +8,6 @@
static int ewl_entry_cursor_cb_flash_timer(void *data);
static void ewl_entry_cursor_timer_set(Ewl_Entry_Cursor *c, double time);
-static void ewl_entry_cb_destroy(Ewl_Widget *w, void *ev __UNUSED__,
- void *data __UNUSED__);
/**
* @param text: The text to set into the entry
@@ -87,19 +85,11 @@
ewl_entry_cb_mouse_down, NULL);
ewl_callback_append(w, EWL_CALLBACK_MOUSE_UP,
ewl_entry_cb_mouse_up, NULL);
- ewl_callback_prepend(w, EWL_CALLBACK_DESTROY,
- ewl_entry_cb_destroy, NULL);
DRETURN_INT(TRUE, DLEVEL_STABLE);
}
-void ewl_entry_cb_destroy(Ewl_Widget *w, void *ev __UNUSED__,
- void *data __UNUSED__)
-{
- if (EWL_ENTRY(w)->cursor) ewl_widget_destroy(EWL_ENTRY(w)->cursor);
-}
-
/**
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs