* Fixes NB#91284, removed an invalid const modified
authorSergio Villar Senin <svillar@igalia.com>
Fri, 7 Nov 2008 12:21:14 +0000 (12:21 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Fri, 7 Nov 2008 12:21:14 +0000 (12:21 +0000)
pmo-trunk-r6233

src/modest-tny-folder.c
src/modest-tny-folder.h

index 87f6921..62149cb 100644 (file)
@@ -104,7 +104,7 @@ modest_tny_folder_guess_folder_type (TnyFolder *folder)
 
 
 const gchar*
 
 
 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;
 {
        TnyFolderType type;
        const gchar* help_id = NULL;
index 0372a06..585739a 100644 (file)
@@ -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.
  */
  * 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
 /**
  * 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
  */
  *  
  * 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);
 
 
 /**
 
 
 /**