diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-26 20:24:35 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-26 20:24:35 +0800 |
commit | e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed (patch) | |
tree | 69946f3b8fb0c7cf1a0b73bec4b646a9996e5821 /e-util | |
parent | 1868c9e675073dfa824dc12e1c2fa3cc1929f70b (diff) | |
download | gsoc2013-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.c | 2 | ||||
-rw-r--r-- | e-util/e-folder-map.h | 3 | ||||
-rw-r--r-- | e-util/e-logger.c | 2 | ||||
-rw-r--r-- | e-util/e-logger.h | 2 |
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, |