* check_text-utils.c:
[modest] / src / modest-presets.h
index b542fdf..5f316e1 100644 (file)
@@ -38,7 +38,7 @@ struct _ModestPresets {
 };
 typedef struct _ModestPresets ModestPresets;
 
-enum _ModestPresetsInfo {
+typedef enum _ModestPresetsInfo {
        /* two bits for the server type */
        MODEST_PRESETS_INFO_NONE             = 0x0000,
        MODEST_PRESETS_INFO_IMAP             = 0x0001,
@@ -49,9 +49,9 @@ enum _ModestPresetsInfo {
        MODEST_PRESETS_INFO_APOP             = 0x0004,
        MODEST_PRESETS_INFO_SECURE_SMTP      = 0x0008,
        MODEST_PRESETS_INFO_SECURE_INCOMING  = 0x000f   
-};
+} ModestPresetsInfo;
 
-typedef enum _ModestPresetsInfo ModestPresetsInfo;
+/* typedef enum _ModestPresetsInfo ModestPresetsInfo; */
 
 
 /**
@@ -85,7 +85,8 @@ gchar **                  modest_presets_get_providers   (ModestPresets *self, g
  * modest_presets_get_server:
  * @self: a valid ModestPresets instance
  * @provider: name of the provider 
- * @incoming: get the incoming mailserver if TRUE, get the outgoing server otherwise
+ * @incoming_server: get the incoming mailserver if TRUE, get the
+ * outgoing server otherwise
  *
  * get the name of a incoming or outgoing mailserver
  * 
@@ -100,7 +101,8 @@ gchar *                   modest_presets_get_server      (ModestPresets *self,
  * modest_presets_get_info:
  * @self: a valid ModestPresets instance
  * @provider: name of the provider 
- * @incoming: get the incoming mailserver if TRUE, get the outgoing server otherwise
+ * @incoming_server: get the incoming mailserver if TRUE, get the
+ * outgoing server otherwise
  *
  * get information about some incoming or outgoing mailserver
  *
@@ -112,10 +114,9 @@ ModestPresetsInfo          modest_presets_get_info (ModestPresets *self,
 
 /**
  * modest_presets_destroy:
- * @self: a valid ModestPresets instance
+ * @self: a valid ModestPresets instance (ie. must not be NULL)
  *
  * destroy ModestPresets instance; this is required after you're done with it.
- *
  */
 void                      modest_presets_destroy         (ModestPresets *self);