diff -up evolution-2.27.4/plugins/publish-calendar/publish-calendar.c.gmount-deprecation evolution-2.27.4/plugins/publish-calendar/publish-calendar.c --- evolution-2.27.4/plugins/publish-calendar/publish-calendar.c.gmount-deprecation 2009-07-13 03:45:13.000000000 -0400 +++ evolution-2.27.4/plugins/publish-calendar/publish-calendar.c 2009-07-13 14:32:58.000000000 -0400 @@ -129,7 +129,11 @@ unmount_done_cb (GObject *source_object, { GError *error = NULL; +#if GLIB_CHECK_VERSION(2,21,4) + g_mount_unmount_with_operation_finish (G_MOUNT (source_object), res, &error); +#else g_mount_unmount_finish (G_MOUNT (source_object), res, &error); +#endif if (error) { g_warning ("Unmount failed: %s", error->message); @@ -177,7 +181,11 @@ mount_ready_cb (GObject *source_object, mount = g_file_find_enclosing_mount (G_FILE (source_object), NULL, NULL); if (mount) +#if GLIB_CHECK_VERSION(2,21,4) + g_mount_unmount_with_operation (mount, G_MOUNT_UNMOUNT_NONE, NULL, NULL, unmount_done_cb, NULL); +#else g_mount_unmount (mount, G_MOUNT_UNMOUNT_NONE, NULL, unmount_done_cb, NULL); +#endif g_object_unref (source_object); }