[banshee/gtk3] Gio: update to latest gtk-sharp 2.99.1 API (fix build)
- From: Andrés Aragoneses <aaragoneses src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gtk3] Gio: update to latest gtk-sharp 2.99.1 API (fix build)
- Date: Fri, 23 Aug 2013 20:37:07 +0000 (UTC)
commit 456c638046cfc6e53ea534fcdddd40b67343ac97
Author: Andrés G. Aragoneses <knocte gmail com>
Date: Fri Aug 23 22:36:51 2013 +0200
Gio: update to latest gtk-sharp 2.99.1 API (fix build)
.../LowLevel/GioDriveMetadetaSource.cs | 4 ++--
.../LowLevel/GioVolumeMetadataSource.cs | 4 ++--
.../Banshee.Hardware.Gio/LowLevel/Manager.cs | 10 +++++-----
.../LowLevel/RawBlockDevice.cs | 4 ++--
.../Banshee.Hardware.Gio/LowLevel/RawVolume.cs | 4 ++--
5 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/GioDriveMetadetaSource.cs
b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/GioDriveMetadetaSource.cs
index 97df8e5..225dad7 100644
--- a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/GioDriveMetadetaSource.cs
+++ b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/GioDriveMetadetaSource.cs
@@ -33,9 +33,9 @@ namespace Banshee.Hardware.Gio
{
public class GioDriveMetadetaSource : GioMetadataSource
{
- Drive Drive { get; set; }
+ IDrive Drive { get; set; }
- public GioDriveMetadetaSource (Drive drive)
+ public GioDriveMetadetaSource (IDrive drive)
{
Drive = drive;
}
diff --git a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/GioVolumeMetadataSource.cs
b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/GioVolumeMetadataSource.cs
index 459a97f..b708d7c 100644
--- a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/GioVolumeMetadataSource.cs
+++ b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/GioVolumeMetadataSource.cs
@@ -32,11 +32,11 @@ namespace Banshee.Hardware.Gio
{
public class GioVolumeMetadataSource : GioMetadataSource
{
- GLib.Volume Volume {
+ GLib.IVolume Volume {
get; set;
}
- public GioVolumeMetadataSource (GLib.Volume volume)
+ public GioVolumeMetadataSource (GLib.IVolume volume)
{
Volume = volume;
}
diff --git a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/Manager.cs
b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/Manager.cs
index bb8d6f7..f1ff6c4 100644
--- a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/Manager.cs
+++ b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/Manager.cs
@@ -111,7 +111,7 @@ namespace Banshee.Hardware.Gio
}
- void VolumeRemoved (GLib.Volume volume)
+ void VolumeRemoved (GLib.IVolume volume)
{
var h = DeviceRemoved;
if (h != null) {
@@ -131,7 +131,7 @@ namespace Banshee.Hardware.Gio
public IEnumerable<IDevice> GetAllDevices ()
{
- foreach (GLib.Volume vol in monitor.Volumes) {
+ foreach (GLib.IVolume vol in monitor.Volumes) {
var device = GudevDeviceFromGioVolume (vol);
if (device == null) {
continue;
@@ -157,7 +157,7 @@ namespace Banshee.Hardware.Gio
}
- public GUdev.Device GudevDeviceFromGioDrive (GLib.Drive drive)
+ public GUdev.Device GudevDeviceFromGioDrive (GLib.IDrive drive)
{
GUdev.Device device = null;
@@ -173,7 +173,7 @@ namespace Banshee.Hardware.Gio
return device;
}
- public GUdev.Device GudevDeviceFromGioVolume (GLib.Volume volume)
+ public GUdev.Device GudevDeviceFromGioVolume (GLib.IVolume volume)
{
GUdev.Device device = null;
@@ -199,7 +199,7 @@ namespace Banshee.Hardware.Gio
return device;
}
- public GUdev.Device GudevDeviceFromGioMount (GLib.Mount mount)
+ public GUdev.Device GudevDeviceFromGioMount (GLib.IMount mount)
{
if (mount == null) {
return null;
diff --git a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/RawBlockDevice.cs
b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/RawBlockDevice.cs
index 59c0344..9bbb45b 100644
--- a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/RawBlockDevice.cs
+++ b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/RawBlockDevice.cs
@@ -33,13 +33,13 @@ namespace Banshee.Hardware.Gio
{
class RawBlockDevice : RawDevice
{
- public RawBlockDevice (GLib.Drive drive, Manager manager, GioDriveMetadetaSource gioMetadata,
UdevMetadataSource udevMetadata)
+ public RawBlockDevice (GLib.IDrive drive, Manager manager, GioDriveMetadetaSource gioMetadata,
UdevMetadataSource udevMetadata)
: base (manager, gioMetadata, udevMetadata)
{
Drive = drive;
}
- GLib.Drive Drive { get; set; }
+ GLib.IDrive Drive { get; set; }
public IEnumerable<Volume> Volumes {
get {
diff --git a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/RawVolume.cs
b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/RawVolume.cs
index 0ac09f9..65d52a9 100644
--- a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/RawVolume.cs
+++ b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/RawVolume.cs
@@ -42,7 +42,7 @@ namespace Banshee.Hardware.Gio
const string FileSystemSize = "filesystem::size";
const string FileSystemReadOnly = "filesystem::readonly";
- public GLib.Volume Volume {
+ public GLib.IVolume Volume {
get; set;
}
@@ -147,7 +147,7 @@ namespace Banshee.Hardware.Gio
}
- public RawVolume (GLib.Volume volume, Manager manager, GioVolumeMetadataSource gioMetadata,
UdevMetadataSource udevMetadata)
+ public RawVolume (GLib.IVolume volume, Manager manager, GioVolumeMetadataSource gioMetadata,
UdevMetadataSource udevMetadata)
: base (manager, gioMetadata, udevMetadata)
{
Volume = volume;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]