Minor cleanup.
[bluesky.git] / bluesky / store.c
index ec72ec2..b60bd05 100644 (file)
@@ -138,7 +138,7 @@ BlueSkyRCStr *bluesky_store_get(BlueSkyStore *store, const gchar *key)
     BlueSkyStoreAsync *async = bluesky_store_async_new(store);
     async->op = STORE_OP_GET;
     async->key = g_strdup(key);
-    store->impl->submit(store->handle, async);
+    bluesky_store_async_submit(async);
 
     bluesky_store_async_wait(async);
 
@@ -156,7 +156,7 @@ void bluesky_store_put(BlueSkyStore *store,
     async->key = g_strdup(key);
     bluesky_string_ref(val);
     async->data = val;
-    store->impl->submit(store->handle, async);
+    bluesky_store_async_submit(async);
 
     bluesky_store_async_wait(async);
     bluesky_store_async_unref(async);