aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-07-10 13:18:21 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-06 20:06:46 +0200
commita31560216672b08f27cb93798478f49e31fb6298 (patch)
treec53af5e96039583fd551521c937a847d9d7eb946
parent1e9c6772ce674606b2e999baf9e9b7a3b25bb862 (diff)
plugin: no need to have our own `GUdevClient'
-rw-r--r--src/mm-plugin.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c
index e375bb1b..59a8b327 100644
--- a/src/mm-plugin.c
+++ b/src/mm-plugin.c
@@ -49,7 +49,6 @@ static gchar *virtual_port[] = {"smd0", NULL};
typedef struct {
gchar *name;
- GUdevClient *client;
GHashTable *tasks;
/* Plugin-specific setups */
@@ -596,10 +595,6 @@ mm_plugin_init (MMPlugin *self)
{
MMPluginPrivate *priv = MM_PLUGIN_GET_PRIVATE (self);
- /* 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);
-
/* Defaults */
priv->send_delay = 100000;
}
@@ -728,8 +723,6 @@ finalize (GObject *object)
g_free (priv->name);
- g_object_unref (priv->client);
-
G_OBJECT_CLASS (mm_plugin_parent_class)->finalize (object);
}