[gnome-disk-utility] Substitute deprecated Glib symbol
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] Substitute deprecated Glib symbol
- Date: Tue, 5 Jan 2010 17:31:17 +0000 (UTC)
commit cae9237cbc515a1ef508f6572a988ac0bd2d0f51
Author: Javier Jardón <jjardon gnome org>
Date: Mon Nov 16 03:29:01 2009 +0100
Substitute deprecated Glib symbol
Substitute g_mount_unmount_finish () with g_mount_unmount_with_operation_finish()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=602045
configure.ac | 2 +-
src/format-tool/gdu-format-tool.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a90b264..039270e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -121,7 +121,7 @@ GTK_DOC_CHECK([1.3])
# Check for required packages
# ***************************
-GLIB2_REQUIRED=2.16
+GLIB2_REQUIRED=2.22
GOBJECT2_REQUIRED=2.16
GIO2_REQUIRED=2.22
DBUS_GLIB_REQUIRED=0.74
diff --git a/src/format-tool/gdu-format-tool.c b/src/format-tool/gdu-format-tool.c
index 11cfcb8..6609715 100644
--- a/src/format-tool/gdu-format-tool.c
+++ b/src/format-tool/gdu-format-tool.c
@@ -145,7 +145,7 @@ unmount_cb (GObject *source_object,
GMount *mount = G_MOUNT (source_object);
UnmountData *data = user_data;
- g_mount_unmount_finish (mount, res, &data->error);
+ g_mount_unmount_with_operation_finish (mount, res, &data->error);
g_main_loop_quit (data->loop);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]