From: Sergio Villar Senin Date: Fri, 7 Nov 2008 12:21:14 +0000 (+0000) Subject: * Fixes NB#91284, removed an invalid const modified X-Git-Tag: git_migration_finished~1057 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=c4dcaf83a3586022b01cf01a03761e10007841b1;hp=c5a6c81b85b5e75d5f91265d15c795379d0f7cee * Fixes NB#91284, removed an invalid const modified pmo-trunk-r6233 --- diff --git a/src/modest-tny-folder.c b/src/modest-tny-folder.c index 87f6921..62149cb 100644 --- a/src/modest-tny-folder.c +++ b/src/modest-tny-folder.c @@ -104,7 +104,7 @@ modest_tny_folder_guess_folder_type (TnyFolder *folder) const gchar* -modest_tny_folder_get_help_id (const TnyFolder *folder) +modest_tny_folder_get_help_id (TnyFolder *folder) { TnyFolderType type; const gchar* help_id = NULL; diff --git a/src/modest-tny-folder.h b/src/modest-tny-folder.h index 0372a06..585739a 100644 --- a/src/modest-tny-folder.h +++ b/src/modest-tny-folder.h @@ -53,13 +53,7 @@ typedef enum { * functions for working with a TnyFolder. tinymail does not seem to offer any * easy way to cause derived TnyFolders to be instantiated. */ - -/* TODO: These "const TnyFolder*" arguments will eventually need to - * be "TnyFolder*". C cannot support constness for complex objects like C++ - * can, because it lacks the mutable keyword and doesn't allow both const - * and non-const get function overloads. - */ - + /** * modest_tny_folder_guess_type: * @folder: a valid tnymail folder @@ -138,7 +132,7 @@ ModestTnyFolderRules modest_tny_folder_get_rules (TnyFolder *folder); * * Returns: get the help_id for this folder, or NULL in case of error */ -const gchar* modest_tny_folder_get_help_id (const TnyFolder *folder); +const gchar* modest_tny_folder_get_help_id (TnyFolder *folder); /**