proxy: add global_id property

This commit is contained in:
Julian Bouzas
2019-06-19 08:11:00 -04:00
parent 0ad9464b54
commit fc7ebc2c31
9 changed files with 44 additions and 25 deletions

View File

@@ -104,11 +104,12 @@ wp_proxy_node_class_init (WpProxyNodeClass * klass)
}
void
wp_proxy_node_new (gpointer proxy, GAsyncReadyCallback callback,
gpointer user_data)
wp_proxy_node_new (guint global_id, gpointer proxy,
GAsyncReadyCallback callback, gpointer user_data)
{
g_async_initable_new_async (
WP_TYPE_PROXY_NODE, G_PRIORITY_DEFAULT, NULL, callback, user_data,
"global-id", global_id,
"pw-proxy", proxy,
NULL);
}