summaryrefslogtreecommitdiff
path: root/gio/gvolumemonitor.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2008-03-03 21:38:30 +0000
committerAlexander Larsson <alexl@src.gnome.org>2008-03-03 21:38:30 +0000
commit0cb86e3b8f00a8e575a4a9429b50b7cdaaa921cb (patch)
tree63d6a8ac3dbe7cb331d6bb019a1e81d87e8c1a62 /gio/gvolumemonitor.h
parenta961e94cd753938510b7e17782f608640e008fd0 (diff)
downloadglib-0cb86e3b8f00a8e575a4a9429b50b7cdaaa921cb.tar.gz
Fix the adopt_orphan_mount vfunc to take a volume_monitor reference in an
2008-03-03 Alexander Larsson <alexl@redhat.com> * gunionvolumemonitor.c: * gvolumemonitor.h: Fix the adopt_orphan_mount vfunc to take a volume_monitor reference in an ABI compat way. This change is not API compat, but the added arg is not used in the only user of this vfunc, so all we get is a harmless warning in gvfs (#520169) svn path=/trunk/; revision=6618
Diffstat (limited to 'gio/gvolumemonitor.h')
-rw-r--r--gio/gvolumemonitor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gio/gvolumemonitor.h b/gio/gvolumemonitor.h
index 9e4a47d05..9d32ceabb 100644
--- a/gio/gvolumemonitor.h
+++ b/gio/gvolumemonitor.h
@@ -111,8 +111,9 @@ struct _GVolumeMonitorClass {
const char *uuid);
- GVolume * (*adopt_orphan_mount) (GMount *mount);
-
+ /* These arguments are unfortunately backwards by mistake (bug #520169) */
+ GVolume * (*adopt_orphan_mount) (GMount *mount,
+ GVolumeMonitor *volume_monitor);
/*< private >*/
/* Padding for future expansion */