Fix compiler warnings in filter.
This commit is contained in:
@ -92,8 +92,6 @@ void e_xml_set_string_prop_by_name (xmlNode *parent,
|
||||
gchar *e_xml_get_translated_string_prop_by_name (const xmlNode *parent,
|
||||
const xmlChar *prop_name);
|
||||
|
||||
int e_xml_save_file (const char *filename, xmlDocPtr doc);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __E_XML_UTILS__ */
|
||||
|
||||
@ -208,7 +208,7 @@ xml_encode (FilterElement *fe)
|
||||
{
|
||||
FilterFile *file = (FilterFile *) fe;
|
||||
xmlNodePtr cur, value;
|
||||
char *type;
|
||||
const gchar *type;
|
||||
|
||||
type = file->type ? file->type : "file";
|
||||
|
||||
|
||||
@ -237,7 +237,7 @@ xml_encode (FilterElement *fe)
|
||||
xmlNodePtr value;
|
||||
GList *l;
|
||||
FilterInput *fi = (FilterInput *)fe;
|
||||
char *type;
|
||||
const gchar *type;
|
||||
|
||||
type = fi->type ? fi->type : "string";
|
||||
|
||||
|
||||
@ -639,7 +639,7 @@ rule_bottom (GtkWidget *widget, RuleEditor *re)
|
||||
}
|
||||
|
||||
static struct {
|
||||
char *name;
|
||||
const gchar *name;
|
||||
GCallback func;
|
||||
} edit_buttons[] = {
|
||||
{ "rule_add", G_CALLBACK (rule_add) },
|
||||
|
||||
Reference in New Issue
Block a user