Add store protocol to the data obtained in DBUS GetUnreadMessages
[modest] / src / hildon2 / modest-maemo-utils.h
index 0066e54..f40cf90 100644 (file)
@@ -76,16 +76,6 @@ void modest_maemo_utils_setup_images_filechooser (GtkFileChooser *chooser);
 osso_context_t *modest_maemo_utils_get_osso_context (void);
 
 /**
- * modest_maemo_set_thumbable_scrollbar:
- * @win: a scrollable window
- * @thumbable: set it to thumbable (TRUE) or small (FALSE)
- *
- * changes the thumbability of scrollbars in a scrollable window
- */
-void modest_maemo_set_thumbable_scrollbar (GtkScrolledWindow *win, gboolean thumbable);
-
-
-/**
  * modest_maemo_get_osso_context:
  *
  * retrieve the osso context for this application
@@ -174,4 +164,19 @@ modest_maemo_utils_scroll_pannable(HildonPannableArea *pannable,
                                   gint horizontal,
                                   gint vertical);
 
+/**
+ * modest_heartbeat_add:
+ * @function: function to call
+ * @userdata: data to pass to @function.
+ *
+ * Adds a function to be called when heartbeat is called. If the
+ * function returns FALSE it is automatically removed from the
+ * list of event sources and will not be called again.
+ *
+ * Returns: the ID (greater than 0) of the event source
+ */
+guint
+modest_heartbeat_add (GSourceFunc function,
+                     gpointer userdata);
+
 #endif /*__MODEST_MAEMO_UTILS_H__*/