forked from enlightenment/efl
fixed some const char*/char* confusion.
SVN revision: 29279
This commit is contained in:
parent
fd9cf44c7e
commit
731a6622f9
|
@ -15,13 +15,13 @@ typedef struct _SrcFile_List SrcFile_List;
|
|||
|
||||
struct _New_Object_Handler
|
||||
{
|
||||
char *type;
|
||||
const char *type;
|
||||
void (*func)(void);
|
||||
};
|
||||
|
||||
struct _New_Statement_Handler
|
||||
{
|
||||
char *type;
|
||||
const char *type;
|
||||
void (*func)(void);
|
||||
};
|
||||
|
||||
|
|
|
@ -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_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;
|
||||
Evas_List *edje_collections = NULL;
|
||||
|
@ -1008,7 +1008,7 @@ data_process_lookups(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 *key;
|
||||
|
|
|
@ -1067,7 +1067,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags)
|
|||
if (ep->calculating & flags)
|
||||
{
|
||||
#if 1
|
||||
char *axes = "NONE", *faxes = "NONE";
|
||||
const char *axes = "NONE", *faxes = "NONE";
|
||||
|
||||
if ((ep->calculating & FLAG_X) &&
|
||||
(ep->calculating & FLAG_Y))
|
||||
|
|
Loading…
Reference in New Issue