Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

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


Modified Files:
        ewl_dialog.c 


Log Message:
ewl_button_stock_type_set/get() -> ewl_stock_type_set/get()

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/dialog/ewl_dialog.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_dialog.c        17 Oct 2006 04:59:54 -0000      1.1
+++ ewl_dialog.c        30 Nov 2006 19:56:40 -0000      1.2
@@ -75,14 +75,14 @@
        ewl_dialog_active_area_set(EWL_DIALOG(dialog), EWL_POSITION_BOTTOM);
 
        button = ewl_button_new();
-       ewl_button_stock_type_set(EWL_BUTTON(button), EWL_STOCK_OK);
+       ewl_stock_type_set(EWL_STOCK(button), EWL_STOCK_OK);
        ewl_container_child_append(EWL_CONTAINER(dialog), button);
        ewl_callback_append(button, EWL_CALLBACK_CLICKED,
                        dialog_response_cb, dialog);
        ewl_widget_show(button);
 
        button = ewl_button_new();
-       ewl_button_stock_type_set(EWL_BUTTON(button), EWL_STOCK_CANCEL);
+       ewl_stock_type_set(EWL_STOCK(button), EWL_STOCK_CANCEL);
        ewl_container_child_append(EWL_CONTAINER(dialog), button);
        ewl_callback_append(button, EWL_CALLBACK_CLICKED,
                        dialog_response_cb, dialog);
@@ -99,7 +99,7 @@
        Ewl_Widget *o;
 
        o = ewl_widget_name_find("dialog_label");
-       response = ewl_button_stock_type_get(EWL_BUTTON(w));
+       response = ewl_stock_type_get(EWL_STOCK(w));
        if (response == EWL_STOCK_OK)
                ewl_label_text_set(EWL_LABEL(o), "OK button clicked.");
        else



-------------------------------------------------------------------------
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