[gnome-builder/wip/chergert/gobjgen: 2/2] build: use builddir for paths
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/gobjgen: 2/2] build: use builddir for paths
- Date: Tue, 9 Aug 2016 21:35:45 +0000 (UTC)
commit 1847a8aa2a7fcbb1bca0767ed3f0d4d1ddc67b9b
Author: Christian Hergert <chergert redhat com>
Date: Tue Aug 9 14:35:25 2016 -0700
build: use builddir for paths
Makefile.am | 2 +-
contrib/tmpl/tmpl-expr-eval.c | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index a26c115..7db9581 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,7 +58,7 @@ dist-hook:
.PHONY: AUTHORS
-RUNTIME_TYPELIB_PATH = libide:contrib/egg:contrib/pnl:contrib/tmpl:$(GI_TYPELIB_PATH)
+RUNTIME_TYPELIB_PATH =
$(top_builddir)/libide:$(top_builddir)/contrib/egg:$(top_builddir)/contrib/pnl:$(top_builddr)/contrib/tmpl:$(GI_TYPELIB_PATH)
run:
PEAS_DEBUG=1 \
diff --git a/contrib/tmpl/tmpl-expr-eval.c b/contrib/tmpl/tmpl-expr-eval.c
index 4c1d0c1..652499b 100644
--- a/contrib/tmpl/tmpl-expr-eval.c
+++ b/contrib/tmpl/tmpl-expr-eval.c
@@ -707,6 +707,16 @@ tmpl_expr_gi_call_eval (TmplExprGiCall *node,
ret = TRUE;
}
+ else
+ {
+ g_set_error (error,
+ TMPL_ERROR,
+ TMPL_ERROR_GI_FAILURE,
+ "No such method %s for enum",
+ node->name);
+ }
+
+ goto cleanup;
}
if (!G_VALUE_HOLDS_OBJECT (&left))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]