time_changed_cb (gpointer userdata)
{
time_get_synced ();
+ g_signal_emit (G_OBJECT (userdata), signals[FORMAT_CHANGED_SIGNAL], 0);
}
#endif
osso_time_set_notification_cb (modest_platform_get_osso_context (),
time_changed_cb,
obj);
+ time_get_synced ();
#endif
}
priv->gconf_handler = 0;
gconf_client_remove_dir (gconf, HILDON2_GCONF_FORMAT_DIR,
NULL);
+
+ /* Disconnect notification */
+ osso_time_set_notification_cb (modest_platform_get_osso_context (), NULL, NULL);
#endif
G_OBJECT_CLASS (parent_class)->finalize (obj);
}