From 3a6d3e8de6e7a3d43e19d122ff5815aa8d380944 Mon Sep 17 00:00:00 2001 From: Ayan George Date: Tue, 21 Jun 2011 20:27:12 -0400 Subject: [PATCH 1/4] Added device_set_device_auto_mount_hint(). --- src/device-private.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/device-private.c b/src/device-private.c index 22a0d35..9a919b4 100644 --- a/src/device-private.c +++ b/src/device-private.c @@ -109,6 +109,18 @@ ptr_str_array_from_strv (GStrv s) } void +device_set_device_auto_mount_hint (Device *device, + const gchar *value) +{ + if (G_UNLIKELY (g_strcmp0(device->priv->device_auto_mount_hint,value))) + { + g_free (device->priv->device_auto_mount_hint); + device->priv->device_auto_mount_hint = g_strdup (value); + emit_changed (device, "device_auto_mount_hint"); + } +} + +void device_set_device_detection_time (Device *device, guint64 value) { -- 1.7.4.1