Fix modest_tny_msg_header_get_all_recipients_list (in case from is empty)
[modest] / src / modest-signal-mgr.h
index bd0ae8e..eb3863d 100644 (file)
@@ -42,16 +42,47 @@ G_BEGIN_DECLS
  *  
  * TRUE if this succeeded, FALSE otherwise.
  */
-GSList *modest_signal_mgr_connect                    (GSList *lst, GObject *instance, const gchar *detail,
-                                                     GCallback handler, gpointer data);
+GSList *  modest_signal_mgr_connect               (GSList *lst, 
+                                                  GObject *instance, 
+                                                  const gchar *signal_name,
+                                                  GCallback handler, 
+                                                  gpointer data);
+
+/**
+ * modest_signal_mgr_disconnect:
+ * @list: 
+ * @instance: 
+ * 
+ * disconnect the handler for a particular object for a particular signal
+ * 
+ * Returns: 
+ **/
+GSList *  modest_signal_mgr_disconnect            (GSList *list, 
+                                                  GObject *instance,
+                                                  const gchar *signal_name);
+
 
 /**
  * modest_signal_mgr_disconnect_all_and_destroy:
+ * @lst: the list of signal handlers
  *
  * disconnect all signals in the list, and destroy the list
- *  
  */
-void    modest_signal_mgr_disconnect_all_and_destroy (GSList *lst);
+void      modest_signal_mgr_disconnect_all_and_destroy (GSList *lst);
+
+/**
+ * modest_signal_mgr_disconnect:
+ * @list: 
+ * @instance: 
+ * 
+ * disconnect the handler for a particular object for a particular signal
+ * 
+ * Returns: 
+ **/
+gboolean  modest_signal_mgr_is_connected               (GSList *list, 
+                                                       GObject *instance,
+                                                       const gchar *signal_name);
+
 
 G_END_DECLS
 #endif /*__MODEST_SIGNAL_MGR__*/