From 4af44e92c689fe442dddbf6e18e2731e2d479c5a Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Mon, 7 Mar 2011 15:59:00 +0100 Subject: event_xml_parser: string fields shouldn't be const, moved name and value higher in the structure --- src/include/report/event_xml_parser.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/include') diff --git a/src/include/report/event_xml_parser.h b/src/include/report/event_xml_parser.h index 47852c67..c6bda9d5 100644 --- a/src/include/report/event_xml_parser.h +++ b/src/include/report/event_xml_parser.h @@ -22,21 +22,21 @@ typedef enum */ typedef struct { - const char* label; - const char* name; //name of the value which should be used for env variable + char *name; //name of the value which should be used for env variable char *value; + char *label; option_type_t type; - const char* description; //can be used as tooltip in gtk app - const char* allowed_value; + char *description; //can be used as tooltip in gtk app + char *allowed_value; int required; } event_option_obj_t; //structure to hold the option data typedef struct { - const char *name; //name of the event "Bugzilla" "RedHat Support Uploader" - const char *title; //window title - not used right now, maybe the "name" is enough? - const char *action;//action description to show in gui like: Upload report to the Red Hat bugzilla" + char *name; //name of the event "Bugzilla" "RedHat Support Uploader" + char *title; //window title - not used right now, maybe the "name" is enough? + char *action;//action description to show in gui like: Upload report to the Red Hat bugzilla" GList *options; } event_obj_t; -- cgit