summaryrefslogtreecommitdiff
path: root/libyelp/yelp-uri.c
diff options
context:
space:
mode:
Diffstat (limited to 'libyelp/yelp-uri.c')
-rw-r--r--libyelp/yelp-uri.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libyelp/yelp-uri.c b/libyelp/yelp-uri.c
index be23df2c..8708d1c8 100644
--- a/libyelp/yelp-uri.c
+++ b/libyelp/yelp-uri.c
@@ -301,8 +301,9 @@ resolve_start (YelpUri *uri)
if (priv->resolver == NULL) {
g_object_ref (uri);
- priv->resolver = g_thread_create ((GThreadFunc) resolve_async,
- uri, FALSE, NULL);
+ priv->resolver = g_thread_new ("uri-resolve",
+ (GThreadFunc) resolve_async,
+ uri);
}
}