diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 04:58:27 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 04:58:27 +0800 |
commit | 333656eba50f2120bbee3e817b8faf0baf448faf (patch) | |
tree | 3869bc4847dd4ab67625b82207ff98ef19045e8d /filter | |
parent | 1682814ef78902b385fe84589f8755b0ff4b5b5a (diff) | |
parent | ffa17ed195a6bbb40d386fb572b7941e22f47f8d (diff) | |
download | gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.tar gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.tar.gz gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.tar.bz2 gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.tar.lz gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.tar.xz gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.tar.zst gsoc2013-evolution-333656eba50f2120bbee3e817b8faf0baf448faf.zip |
Merge branch 'warnings'
Diffstat (limited to 'filter')
-rw-r--r-- | filter/filter-file.c | 2 | ||||
-rw-r--r-- | filter/filter-input.c | 2 | ||||
-rw-r--r-- | filter/rule-editor.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/filter/filter-file.c b/filter/filter-file.c index 4126c4b937..e43a02b2ef 100644 --- a/filter/filter-file.c +++ b/filter/filter-file.c @@ -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"; diff --git a/filter/filter-input.c b/filter/filter-input.c index be88a06835..693fea0bab 100644 --- a/filter/filter-input.c +++ b/filter/filter-input.c @@ -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"; diff --git a/filter/rule-editor.c b/filter/rule-editor.c index dc4c65a24c..066689a598 100644 --- a/filter/rule-editor.c +++ b/filter/rule-editor.c @@ -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) }, |