aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 20:24:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 20:24:35 +0800
commite4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed (patch)
tree69946f3b8fb0c7cf1a0b73bec4b646a9996e5821 /e-util
parent1868c9e675073dfa824dc12e1c2fa3cc1929f70b (diff)
downloadgsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.gz
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.bz2
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.lz
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.xz
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.zst
gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.zip
Fix compiler warnings in calendar.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-folder-map.c2
-rw-r--r--e-util/e-folder-map.h3
-rw-r--r--e-util/e-logger.c2
-rw-r--r--e-util/e-logger.h2
4 files changed, 5 insertions, 4 deletions
diff --git a/e-util/e-folder-map.c b/e-util/e-folder-map.c
index 3475d61a70..157c4ca353 100644
--- a/e-util/e-folder-map.c
+++ b/e-util/e-folder-map.c
@@ -150,7 +150,7 @@ e_folder_map_dir (const char *dirname, const char *type, GSList **dir_list)
}
GSList *
-e_folder_map_local_folders (char *local_dir, char *type)
+e_folder_map_local_folders (const gchar *local_dir, const gchar *type)
{
const char *name;
GDir *dir;
diff --git a/e-util/e-folder-map.h b/e-util/e-folder-map.h
index e61dc140ff..a939ea777f 100644
--- a/e-util/e-folder-map.h
+++ b/e-util/e-folder-map.h
@@ -28,7 +28,8 @@
G_BEGIN_DECLS
-GSList *e_folder_map_local_folders (char *local_dir, char *type);
+GSList * e_folder_map_local_folders (const gchar *local_dir,
+ const gchar *type);
G_END_DECLS
diff --git a/e-util/e-logger.c b/e-util/e-logger.c
index 0a458b7444..3d3c88c384 100644
--- a/e-util/e-logger.c
+++ b/e-util/e-logger.c
@@ -198,7 +198,7 @@ e_logger_get_type (void)
}
ELogger *
-e_logger_create (gchar *component)
+e_logger_create (const gchar *component)
{
g_return_val_if_fail (component != NULL, NULL);
diff --git a/e-util/e-logger.h b/e-util/e-logger.h
index f7dfd8017e..186d918f12 100644
--- a/e-util/e-logger.h
+++ b/e-util/e-logger.h
@@ -70,7 +70,7 @@ struct _ELoggerClass {
};
GType e_logger_get_type (void);
-ELogger * e_logger_create (gchar *component);
+ELogger * e_logger_create (const gchar *component);
const gchar * e_logger_get_component (ELogger *logger);
void e_logger_log (ELogger *logger,
gint level,