[gvfs] cdda: fix two compilation warnings



commit 89287cdea32db6c67f787cfcb07b7e4b3669c2a3
Author: Ondrej Holy <oholy redhat com>
Date:   Thu Sep 26 11:49:43 2013 +0200

    cdda: fix two compilation warnings
    
    https://bugzilla.gnome.org/show_bug.cgi?id=591228

 daemon/gvfsbackendcdda.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gvfsbackendcdda.c b/daemon/gvfsbackendcdda.c
index 0d56dbf..a54260a 100644
--- a/daemon/gvfsbackendcdda.c
+++ b/daemon/gvfsbackendcdda.c
@@ -237,7 +237,7 @@ on_uevent (GUdevClient *client, gchar *action, GUdevDevice *device, gpointer use
   if (strcmp (action, "remove") == 0 || (strcmp (action, "change") == 0 &&
       g_udev_device_get_property_as_int (device, "ID_CDROM_MEDIA") != 1))
     {
-      g_vfs_backend_force_unmount (cdda_backend);
+      g_vfs_backend_force_unmount (GVFS_BACKEND (cdda_backend));
     }
 }
 
@@ -290,7 +290,7 @@ _hal_device_removed (LibHalContext *hal_ctx, const char *udi)
 
   if (cdda_backend->hal_udi != NULL && strcmp (udi, cdda_backend->hal_udi) == 0)
     {
-      g_vfs_backend_force_unmount (cdda_backend);
+      g_vfs_backend_force_unmount (GVFS_BACKEND (cdda_backend));
     }
 }
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]