From b03541b1fe92513afefcacbaeff38cca433a74e6 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 30 Mar 2012 13:30:48 +0200 Subject: plugin-base: don't setup udev client notifications --- src/mm-plugin-base.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mm-plugin-base.c b/src/mm-plugin-base.c index 50f8c919..f5b0bd11 100644 --- a/src/mm-plugin-base.c +++ b/src/mm-plugin-base.c @@ -804,9 +804,10 @@ static void mm_plugin_base_init (MMPluginBase *self) { MMPluginBasePrivate *priv = MM_PLUGIN_BASE_GET_PRIVATE (self); - const char *subsys[] = { "tty", "net", NULL }; - priv->client = g_udev_client_new (subsys); + /* We pass NULL as we won't need to get notified about uevents, + * we just use this client for sync queries. */ + priv->client = g_udev_client_new (NULL); priv->tasks = g_hash_table_new_full (g_str_hash, g_str_equal, -- cgit v1.2.3-70-g09d2