[gom] gom: Remove incorrect warning in gom_resource_save_sync()



commit 9abdec4a13c78ec65a000c7e452317566f00fa33
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Apr 15 12:26:49 2014 +0200

    gom: Remove incorrect warning in gom_resource_save_sync()
    
    The API documentation for gom_resource_save_sync() mentioned that
    this needed to be called within the SQLite thread. This is incorrect
    since b9173234ffc848083724486dd564af4a9ee89884 which made this
    sync call push the request to the SQLite in a thread-safe way.

 gom/gom-resource.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gom/gom-resource.c b/gom/gom-resource.c
index 278a43b..6a39520 100644
--- a/gom/gom-resource.c
+++ b/gom/gom-resource.c
@@ -461,10 +461,6 @@ gom_resource_save_cb (GomAdapter *adapter,
  * @resource: (in): A #GomResource.
  * @error: (out): A location for a #GError, or %NULL.
  *
- * This function MAY ONLY be called from the SQLite thread callback using
- * gom_adapter_queue_write(). You will also likely want to call this
- * inside of a transaction.
- *
  * Returns: %TRUE if successful; otherwise %FALSE.
  */
 gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]