summaryrefslogtreecommitdiffstats
path: root/m4/manywarnings.m4
diff options
context:
space:
mode:
authorFabiano Fidêncio <fidencio@redhat.com>2016-03-23 03:50:40 +0100
committerFabiano Fidêncio <fidencio@redhat.com>2016-03-23 04:22:37 +0100
commit0fa5895d6218269cce31315c36cb588c72a52fe0 (patch)
treec814ae20419b8c9715c93971d1a69f84aa0837eb /m4/manywarnings.m4
parentf973df7e54b296f5cd2eca7498aea285a84ab007 (diff)
downloadspice-gtk-0fa5895d6218269cce31315c36cb588c72a52fe0.tar.gz
spice-gtk-0fa5895d6218269cce31315c36cb588c72a52fe0.tar.xz
spice-gtk-0fa5895d6218269cce31315c36cb588c72a52fe0.zip
Introduce gtask-helper.[ch]wip/gtask-helper
As noticed, GTask's heurestic for return a task in idle or immediately doesn't work when using Coroutine and that's okay, we just need to do the idle ourself. And in order to avoid code duplication, let's introduce and make usage of the new g_task_helper_return_* functions. These functions match exactly with the existing g_task_return_* functions and the only difference is that they return on idle instead of returning immediately. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'm4/manywarnings.m4')
-rw-r--r--m4/manywarnings.m41
1 files changed, 0 insertions, 1 deletions
diff --git a/m4/manywarnings.m4 b/m4/manywarnings.m4
index 3e6dd21..ead38a2 100644
--- a/m4/manywarnings.m4
+++ b/m4/manywarnings.m4
@@ -182,7 +182,6 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC],
-Wstrict-overflow \
-Wstrict-prototypes \
-Wsuggest-attribute=const \
- -Wsuggest-attribute=format \
-Wsuggest-attribute=noreturn \
-Wsuggest-attribute=pure \
-Wswitch \