[Xfce4-commits] [xfce/exo] 01/01: Ignore GioScheduler deprecations
noreply at xfce.org
noreply at xfce.org
Sat Jul 8 09:32:09 CEST 2017
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/exo.
commit 254eb318cdb184bab3186eb9f254c96a321fd75d
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sat Jul 8 03:32:03 2017 -0400
Ignore GioScheduler deprecations
---
exo/exo-job.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/exo/exo-job.c b/exo/exo-job.c
index 3794fb4..162d777 100644
--- a/exo/exo-job.c
+++ b/exo/exo-job.c
@@ -395,9 +395,9 @@ exo_job_emit_valist (ExoJob *job,
G_VA_COPY (data.var_args, var_args);
/* emit the signal in the main loop */
- g_io_scheduler_job_send_to_mainloop (job->priv->scheduler_job,
- exo_job_emit_valist_in_mainloop,
- &data, NULL);
+ exo_job_send_to_mainloop (job,
+ exo_job_emit_valist_in_mainloop,
+ &data, NULL);
}
@@ -474,9 +474,11 @@ exo_job_launch (ExoJob *job)
g_main_context_ref (job->priv->context);
#endif
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
g_io_scheduler_push_job (exo_job_scheduler_job_func, g_object_ref (job),
(GDestroyNotify) g_object_unref,
G_PRIORITY_HIGH, job->priv->cancellable);
+G_GNUC_END_IGNORE_DEPRECATIONS
return job;
}
@@ -670,8 +672,10 @@ exo_job_send_to_mainloop (ExoJob *job,
_exo_return_val_if_fail (EXO_IS_JOB (job), FALSE);
_exo_return_val_if_fail (job->priv->scheduler_job != NULL, FALSE);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
return g_io_scheduler_job_send_to_mainloop (job->priv->scheduler_job, func, user_data,
destroy_notify);
+G_GNUC_END_IGNORE_DEPRECATIONS
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list