[latexila] Fix "Non-void function should return a value"
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Fix "Non-void function should return a value"
- Date: Fri, 17 Oct 2014 09:32:28 +0000 (UTC)
commit a8142168d4fe33331eeaf52843e80572e951954a
Author: Ting-Wei Lan <lantw src gnome org>
Date: Fri Oct 17 14:43:39 2014 +0800
Fix "Non-void function should return a value"
https://bugzilla.gnome.org/show_bug.cgi?id=738660
src/liblatexila/latexila-build-job.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/liblatexila/latexila-build-job.c b/src/liblatexila/latexila-build-job.c
index 0a9e314..3810c2a 100644
--- a/src/liblatexila/latexila-build-job.c
+++ b/src/liblatexila/latexila-build-job.c
@@ -673,7 +673,7 @@ latexila_build_job_run_finish (LatexilaBuildJob *build_job,
GCancellable *cancellable;
gboolean succeed;
- g_return_if_fail (g_task_is_valid (result, build_job));
+ g_return_val_if_fail (g_task_is_valid (result, build_job), FALSE);
task = G_TASK (result);
data = g_task_get_task_data (task);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]