[brasero] Fix for a patch from gnome-2-28 branch that did not apply well
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Fix for a patch from gnome-2-28 branch that did not apply well
- Date: Sun, 4 Oct 2009 12:22:43 +0000 (UTC)
commit fce7036afab11a7af521bf39e66a0f506a7eb8da
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sun Oct 4 14:15:51 2009 +0200
Fix for a patch from gnome-2-28 branch that did not apply well
libbrasero-media/brasero-drive.c | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/libbrasero-media/brasero-drive.c b/libbrasero-media/brasero-drive.c
index 0258bb2..f5094ab 100644
--- a/libbrasero-media/brasero-drive.c
+++ b/libbrasero-media/brasero-drive.c
@@ -224,6 +224,20 @@ brasero_drive_cancel_probing (BraseroDrive *drive)
g_source_remove (priv->probe_id);
priv->probe_id = 0;
}
+
+ if (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]