fixed some const char*/char* confusion.

SVN revision: 29279
This commit is contained in:
tilman 2007-03-31 10:33:24 +00:00 committed by tilman
parent fd9cf44c7e
commit 731a6622f9
3 changed files with 5 additions and 5 deletions

View File

@ -15,13 +15,13 @@ typedef struct _SrcFile_List SrcFile_List;
struct _New_Object_Handler struct _New_Object_Handler
{ {
char *type; const char *type;
void (*func)(void); void (*func)(void);
}; };
struct _New_Statement_Handler struct _New_Statement_Handler
{ {
char *type; const char *type;
void (*func)(void); void (*func)(void);
}; };

View File

@ -45,7 +45,7 @@ struct _Code_Lookup
}; };
static void data_queue_image_pc_lookup(Edje_Part_Collection *pc, char *name, int *dest); static void data_queue_image_pc_lookup(Edje_Part_Collection *pc, char *name, int *dest);
static void data_process_string(Edje_Part_Collection *pc, char *prefix, char *s, void (*func)(Edje_Part_Collection *pc, char *name, int *val)); static void data_process_string(Edje_Part_Collection *pc, const char *prefix, char *s, void (*func)(Edje_Part_Collection *pc, char *name, int *val));
Edje_File *edje_file = NULL; Edje_File *edje_file = NULL;
Evas_List *edje_collections = NULL; Evas_List *edje_collections = NULL;
@ -1008,7 +1008,7 @@ data_process_lookups(void)
} }
static void static void
data_process_string(Edje_Part_Collection *pc, char *prefix, char *s, void (*func)(Edje_Part_Collection *pc, char *name, int *val)) data_process_string(Edje_Part_Collection *pc, const char *prefix, char *s, void (*func)(Edje_Part_Collection *pc, char *name, int *val))
{ {
char *p; char *p;
char *key; char *key;

View File

@ -1067,7 +1067,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags)
if (ep->calculating & flags) if (ep->calculating & flags)
{ {
#if 1 #if 1
char *axes = "NONE", *faxes = "NONE"; const char *axes = "NONE", *faxes = "NONE";
if ((ep->calculating & FLAG_X) && if ((ep->calculating & FLAG_X) &&
(ep->calculating & FLAG_Y)) (ep->calculating & FLAG_Y))