[evolution] Version check for the deprecation workaround was off by one.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution] Version check for the deprecation workaround was off by one.
- Date: Mon, 13 Jul 2009 20:56:37 +0000 (UTC)
commit 504cbbaca1f65ef5bd982653e836cd8f2da882dd
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Jul 13 16:56:00 2009 -0400
Version check for the deprecation workaround was off by one.
plugins/publish-calendar/publish-calendar.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/publish-calendar/publish-calendar.c b/plugins/publish-calendar/publish-calendar.c
index 098b34b..84a41f2 100644
--- a/plugins/publish-calendar/publish-calendar.c
+++ b/plugins/publish-calendar/publish-calendar.c
@@ -129,7 +129,7 @@ unmount_done_cb (GObject *source_object, GAsyncResult *res, gpointer user_data)
{
GError *error = NULL;
-#if GLIB_CHECK_VERSION(2,21,4)
+#if GLIB_CHECK_VERSION(2,21,3)
g_mount_unmount_with_operation_finish (G_MOUNT (source_object), res, &error);
#else
g_mount_unmount_finish (G_MOUNT (source_object), res, &error);
@@ -181,7 +181,7 @@ mount_ready_cb (GObject *source_object, GAsyncResult *res, gpointer user_data)
mount = g_file_find_enclosing_mount (G_FILE (source_object), NULL, NULL);
if (mount)
-#if GLIB_CHECK_VERSION(2,21,4)
+#if GLIB_CHECK_VERSION(2,21,3)
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]