diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-30 13:30:48 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-30 13:47:00 +0200 |
commit | b03541b1fe92513afefcacbaeff38cca433a74e6 (patch) | |
tree | 6346a6531d60f0ab28ef89b27441570072fcd932 /src/mm-plugin-base.c | |
parent | 0372e73abd413c94791e9a7f8f88f3acaf533c06 (diff) |
plugin-base: don't setup udev client notifications
Diffstat (limited to 'src/mm-plugin-base.c')
-rw-r--r-- | src/mm-plugin-base.c | 5 |
1 files changed, 3 insertions, 2 deletions
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, |