[libgda] Worker: Fix warnings on invalid cast for functions
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Worker: Fix warnings on invalid cast for functions
- Date: Wed, 27 Feb 2019 22:27:47 +0000 (UTC)
commit 5dc9ab0cd325952fa87fdc79fdda0cdcdd58cc4b
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date: Tue Feb 26 17:35:44 2019 -0600
Worker: Fix warnings on invalid cast for functions
libgda/thread-wrapper/test-worker.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgda/thread-wrapper/test-worker.c b/libgda/thread-wrapper/test-worker.c
index 0dbfffbc3..4d7657a18 100644
--- a/libgda/thread-wrapper/test-worker.c
+++ b/libgda/thread-wrapper/test-worker.c
@@ -86,7 +86,7 @@ data3_free (Data3 *data)
}
static gpointer
-test3_worker_func (Data3 *data)
+test3_worker_func (Data3 *data, GError **error)
{
gint *retval;
g_print ("%s() called from thread %p\n", __FUNCTION__, g_thread_self());
@@ -153,7 +153,7 @@ test3 (void)
* Test 4: cancellation tests
*/
static gpointer
-test4_worker_func (gpointer data)
+test4_worker_func (gpointer data, GError **error)
{
/* just spend some idle time */
g_print ("%s() called from thread %p\n", __FUNCTION__, g_thread_self());
@@ -234,7 +234,7 @@ test4 (void)
* Test 5: with main loop
*/
static gpointer
-test5_worker_func (gpointer data)
+test5_worker_func (gpointer data, GError **error)
{
/* just spend some idle time */
g_print ("%s() called from thread %p\n", __FUNCTION__, g_thread_self());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]