aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/imap-features
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
commit948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch)
tree4133b1adfd94d8f889ca7ad4ad851346518f4171 /plugins/imap-features
parentcc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff)
downloadgsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.bz2
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.lz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.xz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'plugins/imap-features')
-rw-r--r--plugins/imap-features/imap-headers.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/imap-features/imap-headers.c b/plugins/imap-features/imap-headers.c
index 7fa7d4685d..be15e03573 100644
--- a/plugins/imap-features/imap-headers.c
+++ b/plugins/imap-features/imap-headers.c
@@ -134,7 +134,7 @@ imap_headers_commit (EPlugin *efp, EConfigHookItemFactoryData *data)
/* return true is the header is considered valid */
static gboolean
-epif_header_is_valid (const char *header)
+epif_header_is_valid (const gchar *header)
{
gint len = g_utf8_strlen (header, -1);
@@ -149,7 +149,7 @@ epif_header_is_valid (const char *header)
static void
epif_add_sensitivity (EPImapFeaturesData *ui)
{
- const char *entry_contents;
+ const gchar *entry_contents;
GtkTreeIter iter;
gboolean valid;
@@ -165,7 +165,7 @@ epif_add_sensitivity (EPImapFeaturesData *ui)
/* check if this is a duplicate */
valid = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (ui->store), &iter);
while (valid) {
- char *header_name;
+ gchar *header_name;
gtk_tree_model_get (GTK_TREE_MODEL (ui->store), &iter,
0, &header_name,
@@ -253,7 +253,7 @@ org_gnome_imap_headers (EPlugin *epl, EConfigHookItemFactoryData *data)
GtkWidget *vbox;
CamelURL *url = NULL;
CamelException ex;
- char *gladefile;
+ gchar *gladefile;
GladeXML *gladexml;
GtkCellRenderer *renderer;
GtkTreeViewColumn *column;
@@ -288,11 +288,11 @@ org_gnome_imap_headers (EPlugin *epl, EConfigHookItemFactoryData *data)
gtk_tree_view_set_model (ui->custom_headers_tree, GTK_TREE_MODEL(ui->store));
if (url) {
- char *custom_headers;
+ gchar *custom_headers;
custom_headers = g_strdup(camel_url_get_param (url, "imap_custom_headers"));
if (custom_headers) {
- int i=0;
+ gint i=0;
ui->custom_headers_array = g_strsplit (custom_headers, " ", -1);
while (ui->custom_headers_array[i] ) {