[brasero/gnome-2-28] Don't forget to signal the medium removal when cancelling probing
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero/gnome-2-28] Don't forget to signal the medium removal when cancelling probing
- Date: Sat, 3 Oct 2009 12:02:57 +0000 (UTC)
commit 58f765f1d509cf3782092ccaad8cceb3e96841a3
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sat Oct 3 11:07:20 2009 +0200
Don't forget to signal the medium removal when cancelling probing
libbrasero-media/brasero-drive.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-media/brasero-drive.c b/libbrasero-media/brasero-drive.c
index f21a65e..f5094ab 100644
--- a/libbrasero-media/brasero-drive.c
+++ b/libbrasero-media/brasero-drive.c
@@ -226,8 +226,17 @@ brasero_drive_cancel_probing (BraseroDrive *drive)
}
if (priv->medium) {
- g_object_unref (priv->medium);
+ BraseroMedium *medium;
+
+ medium = priv->medium;
priv->medium = NULL;
+
+ g_signal_emit (drive,
+ drive_signals [MEDIUM_REMOVED],
+ 0,
+ medium);
+
+ g_object_unref (medium);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]