aboutsummaryrefslogtreecommitdiff
path: root/src/udev-mgr.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-03 18:01:32 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-03 18:01:32 +0100
commit85e9bcfb399e489eaa6fbf467f940baa69239bf2 (patch)
treed229180cf49eb362f808af7d04804b0d7f9f4d00 /src/udev-mgr.c
parent88d74cf2b768eda753cd2bc85013203be6d9ca3b (diff)
downloadayatana-indicator-session-85e9bcfb399e489eaa6fbf467f940baa69239bf2.tar.gz
ayatana-indicator-session-85e9bcfb399e489eaa6fbf467f940baa69239bf2.tar.bz2
ayatana-indicator-session-85e9bcfb399e489eaa6fbf467f940baa69239bf2.zip
refactor of the udev mgr - working nicely
Diffstat (limited to 'src/udev-mgr.c')
-rw-r--r--src/udev-mgr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev-mgr.c b/src/udev-mgr.c
index 5c650b6..6ddd97d 100644
--- a/src/udev-mgr.c
+++ b/src/udev-mgr.c
@@ -203,8 +203,7 @@ udev_mgr_handle_webcam (UdevMgr* self,
}
g_hash_table_insert (self->webcams_present,
g_strdup (product),
- g_strdup (vendor));
-
+ g_strdup (vendor));
}
udev_mgr_update_menuitems (self);
}
@@ -267,6 +266,7 @@ udev_mgr_check_if_usb_device_is_supported (UdevMgr* self,
UdevMgrDeviceAction action)
{
const gchar* vendor = NULL;
+ debug_device (self, device, action);
vendor = g_udev_device_get_property (device, "ID_VENDOR_ID");