Add missing patch
This commit is contained in:
parent
04eecdf1e6
commit
ba6e5eea9b
52
0001-Revert-part-of-the-excessive-function-culling.patch
Normal file
52
0001-Revert-part-of-the-excessive-function-culling.patch
Normal file
@ -0,0 +1,52 @@
|
||||
From 8b926f38fe60569de6ddcddf3e19ef0ee3fbad8a Mon Sep 17 00:00:00 2001
|
||||
From: Bastien Nocera <hadess@hadess.net>
|
||||
Date: Tue, 11 Aug 2009 17:19:31 +0100
|
||||
Subject: [PATCH] Revert part of the excessive function culling
|
||||
|
||||
---
|
||||
monitor/afc/afc-volume-monitor.c | 14 ++++++++++++++
|
||||
1 files changed, 14 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/monitor/afc/afcvolumemonitor.c b/monitor/afc/afcvolumemonitor.c
|
||||
index ee491d5..faa384d 100644
|
||||
--- a/monitor/afc/afcvolumemonitor.c
|
||||
+++ b/monitor/afc/afcvolumemonitor.c
|
||||
@@ -166,6 +166,12 @@ g_vfs_afc_volume_monitor_finalize (GObject *_self)
|
||||
}
|
||||
|
||||
static GList *
|
||||
+g_vfs_afc_volume_monitor_get_mounts (GVolumeMonitor *_self)
|
||||
+{
|
||||
+ return NULL;
|
||||
+}
|
||||
+
|
||||
+static GList *
|
||||
g_vfs_afc_volume_monitor_get_volumes (GVolumeMonitor *_self)
|
||||
{
|
||||
GVfsAfcVolumeMonitor *self;
|
||||
@@ -179,6 +185,12 @@ g_vfs_afc_volume_monitor_get_volumes (GVolumeMonitor *_self)
|
||||
return l;
|
||||
}
|
||||
|
||||
+static GList *
|
||||
+g_vfs_afc_volume_monitor_get_connected_drives (GVolumeMonitor *_self)
|
||||
+{
|
||||
+ return NULL;
|
||||
+}
|
||||
+
|
||||
static gboolean
|
||||
g_vfs_afc_volume_monitor_is_supported (void)
|
||||
{
|
||||
@@ -194,7 +206,9 @@ g_vfs_afc_volume_monitor_class_init (GVfsAfcVolumeMonitorClass * klass)
|
||||
gobject_class->constructor = g_vfs_afc_volume_monitor_constructor;
|
||||
gobject_class->finalize = g_vfs_afc_volume_monitor_finalize;
|
||||
|
||||
+ monitor_class->get_mounts = g_vfs_afc_volume_monitor_get_mounts;
|
||||
monitor_class->get_volumes = g_vfs_afc_volume_monitor_get_volumes;
|
||||
+ monitor_class->get_connected_drives = g_vfs_afc_volume_monitor_get_connected_drives;
|
||||
monitor_class->is_supported = g_vfs_afc_volume_monitor_is_supported;
|
||||
}
|
||||
|
||||
--
|
||||
1.6.2.5
|
||||
|
Loading…
Reference in New Issue
Block a user