X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-datetime-formatter.c;h=db50dc1c280fbca8d6dbf7dcd8e8a93d2dcf9c55;hb=2600c6f4d55da0330cda4154d7c62b8f84d3b016;hp=69665e0d85dade1b7ec4f29ed2a690bf293418ca;hpb=52f4cfc31e7a02de3ba35bff29611db049c0162e;p=modest diff --git a/src/modest-datetime-formatter.c b/src/modest-datetime-formatter.c index 69665e0..db50dc1 100644 --- a/src/modest-datetime-formatter.c +++ b/src/modest-datetime-formatter.c @@ -228,6 +228,11 @@ modest_datetime_formatter_finalize (GObject *obj) priv->gconf_handler = 0; gconf_client_remove_dir (gconf, HILDON2_GCONF_FORMAT_DIR, NULL); + + /* Disconnect notification */ +#ifdef MODEST_USE_LIBTIME + osso_time_set_notification_cb (modest_platform_get_osso_context (), NULL, NULL); +#endif #endif G_OBJECT_CLASS (parent_class)->finalize (obj); }