Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests


Modified Files:
        ewl_dnd_snoop.c ewl_text_editor.c 


Log Message:
Remove test hacks to force DND awareness on test windows.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/ewl_dnd_snoop.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_dnd_snoop.c     8 Sep 2006 01:05:16 -0000       1.8
+++ ewl_dnd_snoop.c     8 Sep 2006 07:08:44 -0000       1.9
@@ -19,7 +19,6 @@
 static void ewl_dnd_snoop_cb_dnd_position(Ewl_Widget *w, void *event, void 
*data);
 static void ewl_dnd_snoop_cb_dnd_drop(Ewl_Widget *w, void *event, void *data);
 static void ewl_dnd_snoop_cb_dnd_data(Ewl_Widget *w, void *event, void *data);
-static void ewl_dnd_snoop_cb_realize(Ewl_Widget *w, void *event, void *data);
 
 static int ewl_dnd_snoop_cb_enter(void *data, int type, void *ev);
 static int ewl_dnd_snoop_cb_position(void *data, int type, void *ev);
@@ -94,8 +93,6 @@
 
        scroll = ewl_scrollpane_new();
        ewl_container_child_append(EWL_CONTAINER(box), scroll);
-       ewl_callback_append(scroll, EWL_CALLBACK_REALIZE,
-                       ewl_dnd_snoop_cb_realize, NULL);
        ewl_widget_show(scroll);
 
        text = ewl_text_new();
@@ -142,15 +139,6 @@
 {
        Ewl_Event_Dnd_Data *ev = event;
        printf("Data event on widget %p: %p length %d\n", w, ev->data, ev->len);
-}
-
-static void
-ewl_dnd_snoop_cb_realize(Ewl_Widget *w, void *event __UNUSED__, 
-                                               void *data __UNUSED__)
-{
-       Ewl_Embed *embed;
-       embed = ewl_embed_widget_find(w);
-       ecore_x_dnd_aware_set((Ecore_X_Window)embed->evas_window, TRUE);
 }
 
 static int
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/ewl_text_editor.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_text_editor.c   8 Sep 2006 01:05:16 -0000       1.12
+++ ewl_text_editor.c   8 Sep 2006 07:08:44 -0000       1.13
@@ -49,7 +49,6 @@
 static void ete_cb_load(Ewl_Widget *w, void *ev, void *data);
 static void ete_cb_clear(Ewl_Widget *w, void *ev, void *data);
 static void ete_cb_key_down(Ewl_Widget *w, void *ev, void *data);
-static void ete_dnd_cb_realize(Ewl_Widget *w, void *event, void *data);
 
 void 
 test_info(Ewl_Test *test)
@@ -70,7 +69,6 @@
        hbox = ewl_hbox_new();
        ewl_container_child_append(EWL_CONTAINER(box), hbox);
        ewl_object_fill_policy_set(EWL_OBJECT(hbox), EWL_FLAG_FILL_HFILL);
-       ewl_callback_append(hbox, EWL_CALLBACK_REALIZE, ete_dnd_cb_realize, 
NULL);
        ewl_widget_show(hbox);
 
        {
@@ -174,15 +172,6 @@
        }
 
        return 1;
-}
-
-static void
-ete_dnd_cb_realize(Ewl_Widget *w, void *event __UNUSED__, 
-                                               void *data __UNUSED__)
-{
-       Ewl_Embed *embed;
-       embed = ewl_embed_widget_find(w);
-       ewl_embed_dnd_aware_set(embed);
 }
 
 static void



-------------------------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to