[seahorse] Avoid hard-coding Gtk+ API version in gir generation command
- From: Andreas Henriksson <ah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] Avoid hard-coding Gtk+ API version in gir generation command
- Date: Tue, 12 Oct 2010 15:21:17 +0000 (UTC)
commit e4e91bed87360f1562757d55f69882a28cd4c35c
Author: Andreas Henriksson <andreas fatal se>
Date: Tue Oct 12 17:21:15 2010 +0200
Avoid hard-coding Gtk+ API version in gir generation command
The included Gtk+ gir should match the version we're building
against.
libcryptui/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libcryptui/Makefile.am b/libcryptui/Makefile.am
index ffbcd56..abbd072 100644
--- a/libcryptui/Makefile.am
+++ b/libcryptui/Makefile.am
@@ -101,9 +101,9 @@ CryptUI- LIBCRYPTUI_MAJOR@.gir: $(INTROSPECTION_SCANNER) libcryptui.la
$(QUIET_GEN)$(INTROSPECTION_SCANNER) -v \
--namespace CryptUI --nsversion= LIBCRYPTUI_MAJOR@ \
$(INCLUDES) \
- --include=Gtk-2.0 \
+ --include=Gtk-$(GTK_API_VERSION) \
--library=libcryptui.la \
- --pkg gtk+-2.0 \
+ --pkg gtk+-$(GTK_API_VERSION) \
--output $@ \
$(inc_HEADERS) \
$(libcryptui_src)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]