aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-10-19 20:22:33 +0800
committerXan Lopez <xan@igalia.com>2012-10-19 20:22:33 +0800
commit5f8520e28a0e3c9cef9a95b4d933d65c66daf76a (patch)
tree7372a4f31d50864dbeacb6580c20b024ff08e016 /doc
parentd99134cf4b53261275132370c5ad1b0cc5606291 (diff)
downloadgsoc2013-epiphany-5f8520e28a0e3c9cef9a95b4d933d65c66daf76a.tar
gsoc2013-epiphany-5f8520e28a0e3c9cef9a95b4d933d65c66daf76a.tar.gz
gsoc2013-epiphany-5f8520e28a0e3c9cef9a95b4d933d65c66daf76a.tar.bz2
gsoc2013-epiphany-5f8520e28a0e3c9cef9a95b4d933d65c66daf76a.tar.lz
gsoc2013-epiphany-5f8520e28a0e3c9cef9a95b4d933d65c66daf76a.tar.xz
gsoc2013-epiphany-5f8520e28a0e3c9cef9a95b4d933d65c66daf76a.tar.zst
gsoc2013-epiphany-5f8520e28a0e3c9cef9a95b4d933d65c66daf76a.zip
g_type_init is no longer mandatory in GObject
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/Makefile.am5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
index 2988327ac..2963dc0e5 100644
--- a/doc/reference/Makefile.am
+++ b/doc/reference/Makefile.am
@@ -9,9 +9,6 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
# documenting functions and macros.
DOC_SOURCE_DIR=../..
-# Extra options to pass to gtkdoc-scangobj. Not normally needed.
-SCANGOBJ_OPTIONS="--type-init-func=g_type_init()"
-
# Extra options to supply to gtkdoc-scan.
SCAN_OPTIONS=
@@ -169,7 +166,7 @@ scan-build.stamp: $(HFILE_GLOB)
@echo '*** Scanning header files ***'
@-chmod -R u+w $(srcdir)
if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \
- CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
+ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
else \
cd $(srcdir) ; \
for i in $(SCANOBJ_FILES) ; do \