Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

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


Modified Files:
        ewl_pointer.c 


Log Message:
fix warnings

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/pointer/ewl_pointer.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_pointer.c       8 Nov 2006 06:39:29 -0000       1.5
+++ ewl_pointer.c       1 Dec 2006 18:31:46 -0000       1.6
@@ -27,8 +27,6 @@
        Ewl_Widget *o;
 
        pointer_win = ewl_cursor_new();
-       ewl_callback_append(pointer_win, EWL_CALLBACK_DESTROY,
-                       cb_destroy, o);
        ewl_widget_show(pointer_win);
 
        o = ewl_button_new();
@@ -46,6 +44,8 @@
        ewl_entry_editable_set(EWL_ENTRY(o), FALSE);
        ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_HFILL);
        ewl_container_child_append(EWL_CONTAINER(box), o);
+       ewl_callback_append(pointer_win, EWL_CALLBACK_DESTROY,
+                       cb_destroy, o);
        ewl_widget_show(o);
 
        return 1;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to