From: Enlightenment C. <no...@cv...> - 2007-01-16 20:20:42
|
Enlightenment CVS committal Author : pfritz Project : e17 Module : proto Dir : e17/proto/empower/src/bin/ewl Modified Files: empower_gui_ewl.c Log Message: fix warnings =================================================================== RCS file: /cvs/e/e17/proto/empower/src/bin/ewl/empower_gui_ewl.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- empower_gui_ewl.c 7 Dec 2006 03:42:09 -0000 1.12 +++ empower_gui_ewl.c 17 Jan 2007 02:20:20 -0000 1.13 @@ -107,7 +107,7 @@ ewl_widget_show(hbox); ok_button = ewl_button_new(); - ewl_stock_type_set(EWL_BUTTON(ok_button), EWL_STOCK_OK); + ewl_stock_type_set(EWL_STOCK(ok_button), EWL_STOCK_OK); ewl_object_minimum_size_set(EWL_OBJECT(ok_button), 60, 20); //ewl_object_maximum_size_set(EWL_OBJECT(ok_button), 60, 20); ewl_object_fill_policy_set(EWL_OBJECT(ok_button), EWL_FLAG_FILL_SHRINK); @@ -117,7 +117,7 @@ ewl_widget_show(ok_button); cancel_button = ewl_button_new(); - ewl_stock_type_set(EWL_BUTTON(cancel_button), EWL_STOCK_CANCEL); + ewl_stock_type_set(EWL_STOCK(cancel_button), EWL_STOCK_CANCEL); ewl_object_minimum_size_set(EWL_OBJECT(cancel_button), 60, 20); //ewl_object_maximum_size_set(EWL_OBJECT(cancel_button), 60, 20); ewl_object_fill_policy_set(EWL_OBJECT(cancel_button), |