Move namespace-info.vala to namespace-info.vala.in

This makes it possible for the .gir file to contain the dynamic API version.
This commit is contained in:
Gergely Polonkai 2016-03-10 15:39:22 +01:00 committed by Gergely Polonkai
parent 32245397fd
commit d99cb8b589
3 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@ -58,6 +58,7 @@ Makefile.in
/src/matrix-event-room-member.c /src/matrix-event-room-member.c
/src/matrix-event-state-base.c /src/matrix-event-state-base.c
/src/matrix-event-room-message.c /src/matrix-event-room-message.c
/src/namespace-info.vala
/src/namespace-info.c /src/namespace-info.c
/src/matrix-event-room-topic.c /src/matrix-event-room-topic.c
/src/matrix-event-typing.c /src/matrix-event-typing.c

View File

@ -204,6 +204,7 @@ AC_CONFIG_FILES([
src/Makefile src/Makefile
src/matrix-version.h src/matrix-version.h
src/matrix-glib-0.0.pc src/matrix-glib-0.0.pc
src/namespace-info.vala
docs/Makefile docs/Makefile
docs/valadoc/Makefile docs/valadoc/Makefile
docs/valadoc/gtk-doc/Makefile docs/valadoc/gtk-doc/Makefile

View File

@ -16,8 +16,8 @@
* <http://www.gnu.org/licenses/>. * <http://www.gnu.org/licenses/>.
*/ */
[CCode (gir_namespace = "Matrix", gir_version = "0.10")] [CCode (gir_namespace = "Matrix", gir_version = "@MATRIX_GLIB_API_VERSION@")]
namespace Matrix { namespace Matrix {
[CCode (gir_namespace = "Event", gir_version = "0.10")] [CCode (gir_namespace = "Event", gir_version = "@MATRIX_GLIB_API_VERSION@")]
namespace Event {} namespace Event {}
} }