diff options
author | Dan Winship <danw@src.gnome.org> | 2000-04-20 04:30:53 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-04-20 04:30:53 +0800 |
commit | 9417470b3b64c4067089bebacac705f33d50397d (patch) | |
tree | 9b17fc2a781047217543189fd8aa705eaed7ba1e /camel/camel-medium.h | |
parent | feb0ee231e1ba8e6b5e585a1cdb14a2da2ea9ef4 (diff) | |
download | gsoc2013-evolution-9417470b3b64c4067089bebacac705f33d50397d.tar gsoc2013-evolution-9417470b3b64c4067089bebacac705f33d50397d.tar.gz gsoc2013-evolution-9417470b3b64c4067089bebacac705f33d50397d.tar.bz2 gsoc2013-evolution-9417470b3b64c4067089bebacac705f33d50397d.tar.lz gsoc2013-evolution-9417470b3b64c4067089bebacac705f33d50397d.tar.xz gsoc2013-evolution-9417470b3b64c4067089bebacac705f33d50397d.tar.zst gsoc2013-evolution-9417470b3b64c4067089bebacac705f33d50397d.zip |
const poison. (Belatedly goes with my change of 2000-02-23.)
* camel-medium.[ch] (camel_medium_add_header): const poison.
(Belatedly goes with my change of 2000-02-23.)
(camel_medium_init): Use g_strcase_{hash,equal} on the header
array.
svn path=/trunk/; revision=2510
Diffstat (limited to 'camel/camel-medium.h')
-rw-r--r-- | camel/camel-medium.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-medium.h b/camel/camel-medium.h index 0e34f1c2a7..7c85bd2ed7 100644 --- a/camel/camel-medium.h +++ b/camel/camel-medium.h @@ -64,8 +64,8 @@ typedef struct { CamelDataWrapperClass parent_class; /* Virtual methods */ - void (*add_header) (CamelMedium *medium, gchar *header_name, - gchar *header_value); + void (*add_header) (CamelMedium *medium, const gchar *header_name, + const gchar *header_value); void (*remove_header) (CamelMedium *medium, const gchar *header_name); const gchar * (*get_header) (CamelMedium *medium, const gchar *header_name); @@ -83,8 +83,8 @@ GtkType camel_medium_get_type (void); /* public methods */ -void camel_medium_add_header (CamelMedium *medium, gchar *header_name, - gchar *header_value); +void camel_medium_add_header (CamelMedium *medium, const gchar *header_name, + const gchar *header_value); void camel_medium_remove_header (CamelMedium *medium, const gchar *header_name); const gchar *camel_medium_get_header (CamelMedium *medium, |