Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_stock.c 


Log Message:
Add const to read-only stock icon/label data.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_stock.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_stock.c 6 Dec 2007 03:40:45 -0000       1.11
+++ ewl_stock.c 6 Dec 2007 03:42:51 -0000       1.12
@@ -12,9 +12,9 @@
  */
 struct
 {
-       char *label;
-       char *image_key;
-       char *tooltip;
+       const char * const label;
+       const char * const image_key;
+       const char * const tooltip;
 } ewl_stock_items[] = {
                {"Apply", EWL_ICON_DIALOG_APPLY, "Apply"},
                {/*Arrow*/"Down", EWL_ICON_GO_DOWN, "Down"},



-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to