Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_embed.c ewl_widget.h 


Log Message:
Remove additional unused DND code and function prototypes.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_embed.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -3 -r1.120 -r1.121
--- ewl_embed.c 28 May 2007 18:00:07 -0000      1.120
+++ ewl_embed.c 17 Jul 2007 03:45:39 -0000      1.121
@@ -824,24 +824,7 @@
 
                ev.x = x;
                ev.y = y;
-
-               if (internal) {
-                       Ewl_Widget_Drag cb;
-                       
-                       /* Retrieve the callback for widget's data */
-                       /* FIXME: We shouldn't use widget data like
-                        * this, and there needs to be a data request /
-                        * send protocol with widgets anyways */
-                       cb = (Ewl_Widget_Drag)ewl_widget_data_get(widget, 
"DROP_CB");
-                       if (cb) { 
-                               void *drop_data;
-                               drop_data = (*cb)();
-                               ev.data = drop_data;
-                       }
-               } else {
-                       /* Handle external drops */
-                       ev.data = NULL;
-               }
+               ev.data = NULL;
 
                embed->last.drop_widget = widget;
                parent = widget;
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.h,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- ewl_widget.h        16 Jul 2007 19:23:17 -0000      1.63
+++ ewl_widget.h        17 Jul 2007 03:45:39 -0000      1.64
@@ -241,9 +241,6 @@
 
 int             ewl_widget_parent_of(Ewl_Widget *c, Ewl_Widget *w);
 
-Ewl_Widget     *ewl_widget_drag_candidate_get(void);
-void           ewl_widget_dnd_reset(void);
-
 /*
  * Internally used callbacks, override at your own risk.
  */



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to