Remove unnecessary check and add a comment.
[modest] / src / widgets / modest-main-window.h
index c329ddf..6a4b130 100644 (file)
@@ -165,26 +165,14 @@ ModestMainWindowStyle       modest_main_window_get_style        (ModestMainWindo
 /**
  * modest_main_window_set_contents_style:
  * @self: the #ModestMainWindow
- * @style: a #ModestMainWindowContentsStyle that will be set
+ * @style: a #ModestMainWindowContentsStyle that will be set. Either headers or details.
  * 
  * Shows either the folder details, or the header list of the current
- * selected folder
+ * selected folder.
  **/
 void       modest_main_window_set_contents_style       (ModestMainWindow *self, 
                                                        ModestMainWindowContentsStyle style);
 
-/**
- * modest_main_window_set_contents_style:
- * @self: the #ModestMainWindow
- * @mode: a #ModestTollbarMode that will be set
- * 
- * Shows toolitems associated with toolbar mode (Normal/Transfer), 
- * defined by @mode argument.
- * 
- **/
-void 
-modest_main_window_set_toolbar_mode (ModestMainWindow *self, 
-                                     ModestToolBarModes mode);
 
 G_END_DECLS