[gvfs/mtp-backend: 42/64] MTP: More review feedback.
- From: Philip Langdale <philipl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/mtp-backend: 42/64] MTP: More review feedback.
- Date: Sat, 12 Jan 2013 04:37:40 +0000 (UTC)
commit c4405cb73e5767ce3eed77f4ba9c8b53dd146546
Author: Philip Langdale <philipl overt org>
Date: Sat Oct 13 14:33:54 2012 -0700
MTP: More review feedback.
daemon/gvfsbackendmtp.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gvfsbackendmtp.c b/daemon/gvfsbackendmtp.c
index c9389c1..5a32f3c 100644
--- a/daemon/gvfsbackendmtp.c
+++ b/daemon/gvfsbackendmtp.c
@@ -292,7 +292,7 @@ on_uevent (GUdevClient *client, gchar *action, GUdevDevice *device, gpointer use
GVfsBackendMtp *op_backend = G_VFS_BACKEND_MTP (user_data);
if (g_strcmp0(op_backend->dev_path, dev_path) == 0 &&
- strcmp (action, "remove") == 0) {
+ g_str_equal (action, "remove")) {
DEBUG ("(I) on_uevent: Quiting after remove event on device %s", dev_path);
/* TODO: need a cleaner way to force unmount ourselves */
exit (1);
@@ -1192,7 +1192,6 @@ do_delete (GVfsBackend *backend,
}
-// aka 'rename'
static void
do_set_display_name (GVfsBackend *backend,
GVfsJobSetDisplayName *job,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]