summaryrefslogtreecommitdiff
path: root/gudev/gudevenumerator.c
diff options
context:
space:
mode:
Diffstat (limited to 'gudev/gudevenumerator.c')
-rw-r--r--gudev/gudevenumerator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gudev/gudevenumerator.c b/gudev/gudevenumerator.c
index e6cdc67..1c70049 100644
--- a/gudev/gudevenumerator.c
+++ b/gudev/gudevenumerator.c
@@ -124,7 +124,7 @@ g_udev_enumerator_constructed (GObject *object)
g_assert (G_UDEV_IS_CLIENT (enumerator->priv->client));
- enumerator->priv->e = udev_enumerate_new (_g_udev_client_get_udev (enumerator->priv->client));
+ enumerator->priv->e = _g_udev_client_new_enumerate (enumerator->priv->client);
if (G_OBJECT_CLASS (g_udev_enumerator_parent_class)->constructed != NULL)
G_OBJECT_CLASS (g_udev_enumerator_parent_class)->constructed (object);