Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_floater.h ewl_row.h ewl_scrollpane.h ewl_table.h
ewl_text.h ewl_widget.c ewl_widget.h
Log Message:
- remove unneeded function declarations and some dead code
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_floater.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_floater.h 15 Mar 2006 04:03:48 -0000 1.9
+++ ewl_floater.h 8 May 2006 18:31:51 -0000 1.10
@@ -58,8 +58,6 @@
void *user_data);
void ewl_floater_follow_destroy_cb(Ewl_Widget *w, void *ev_data,
void *user_data);
-void ewl_floater_reparent_cb(Ewl_Widget *parent, void *ev_data,
- void *user_data);
/**
* @}
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_row.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ewl_row.h 15 Mar 2006 04:03:48 -0000 1.10
+++ ewl_row.h 8 May 2006 18:31:51 -0000 1.11
@@ -50,7 +50,6 @@
* Internally used callbacks, override at your own risk.
*/
void ewl_row_configure_cb(Ewl_Widget *w, void *ev_data, void *user_data);
-void ewl_row_destroy_cb(Ewl_Widget *w, void *ev_data, void *user_data);
void ewl_row_header_configure_cb(Ewl_Widget *w, void *ev_data,
void *user_data);
void ewl_row_header_destroy_cb(Ewl_Widget *w, void *ev_data,
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_scrollpane.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_scrollpane.h 15 Mar 2006 04:03:48 -0000 1.8
+++ ewl_scrollpane.h 8 May 2006 18:31:51 -0000 1.9
@@ -73,8 +73,6 @@
*/
void ewl_scrollpane_configure_cb(Ewl_Widget *w, void *ev_data,
void *user_data);
-void ewl_scrollpane_box_configure_cb(Ewl_Widget *w, void *ev_data,
- void *user_data);
void ewl_scrollpane_focus_jump_cb(Ewl_Widget *w, void *ev_data,
void *user_data);
void ewl_scrollpane_hscroll_cb(Ewl_Widget *w, void *ev_data, void *user_data);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_table.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_table.h 30 Apr 2006 02:31:41 -0000 1.12
+++ ewl_table.h 8 May 2006 18:31:51 -0000 1.13
@@ -88,9 +88,6 @@
* Internally used callbacks, override at your own risk.
*/
void ewl_table_configure_cb(Ewl_Widget *w, void *ev_data, void *user_data);
-void ewl_table_show_cb(Ewl_Widget *w, void *ev_data, void *user_data);
-void ewl_table_child_configure_cb(Ewl_Widget * w, void *ev_data,
- void *user_data);
void ewl_table_child_select_cb(Ewl_Widget *w, void *ev_data, void *user_data);
void ewl_table_child_show_cb(Ewl_Container *p, Ewl_Widget *c);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.h,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -3 -r1.36 -r1.37
--- ewl_text.h 18 Apr 2006 23:18:53 -0000 1.36
+++ ewl_text.h 8 May 2006 18:31:51 -0000 1.37
@@ -299,7 +299,6 @@
void ewl_text_cb_mouse_down(Ewl_Widget *w, void *ev, void *data);
void ewl_text_cb_mouse_up(Ewl_Widget *w, void *ev, void *data);
void ewl_text_cb_mouse_move(Ewl_Widget *w, void *ev, void *data);
-void ewl_text_cb_resize(Ewl_Widget *w, void *ev, void *data);
void ewl_text_cb_child_add(Ewl_Container *c, Ewl_Widget *w);
void ewl_text_cb_child_del(Ewl_Container *c, Ewl_Widget *w, int idx);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -3 -r1.74 -r1.75
--- ewl_widget.c 20 Apr 2006 04:09:51 -0000 1.74
+++ ewl_widget.c 8 May 2006 18:31:51 -0000 1.75
@@ -755,24 +755,8 @@
* A widget cannot be the child of multiple widgets, so remove it
* from a previous parent before adding to this parent.
*/
- if (op) {
+ if (op)
ewl_container_child_remove(op, w);
- /*
- if (!p)
- ewl_callback_del(w, EWL_CALLBACK_DESTROY,
- ewl_widget_child_destroy_cb);
- */
- }
- /*
- * A widget that has not had a previous parent needs the parent
- * destruction callback added.
- */
- else if (p) {
- /*
- ewl_callback_prepend(w, EWL_CALLBACK_DESTROY,
- ewl_widget_child_destroy_cb, NULL);
- */
- }
ewl_callback_call_with_event_data(w, EWL_CALLBACK_REPARENT, p);
@@ -2671,23 +2655,6 @@
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
-
-/*
-void
-ewl_widget_child_destroy_cb(Ewl_Widget * w, void *ev_data __UNUSED__,
- void *user_data __UNUSED__)
-{
- DENTER_FUNCTION(DLEVEL_STABLE);
- DCHECK_PARAM_PTR("w", w);
- DCHECK_TYPE("w", w, EWL_WIDGET_TYPE);
-
- if (w->parent)
- ewl_container_child_remove(EWL_CONTAINER(w->parent), w);
-
- DLEAVE_FUNCTION(DLEVEL_STABLE);
-}
-*/
-
void
ewl_widget_drag_down_cb(Ewl_Widget *w, void *ev_data ,
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- ewl_widget.h 14 Apr 2006 19:31:47 -0000 1.40
+++ ewl_widget.h 8 May 2006 18:31:51 -0000 1.41
@@ -253,7 +253,6 @@
void ewl_widget_mouse_out_cb(Ewl_Widget *w, void *ev_data, void *user_data);
void ewl_widget_mouse_down_cb(Ewl_Widget *w, void *ev_data, void *user_data);
void ewl_widget_mouse_up_cb(Ewl_Widget *w, void *ev_data, void *user_data);
-void ewl_widget_child_destroy_cb(Ewl_Widget *w, void *ev_data, void
*user_data);
void ewl_widget_mouse_move_cb(Ewl_Widget *w, void *ev_data, void *user_data);
/**
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs