summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Mardegan <mardy@users.sourceforge.net>2008-07-01 07:40:27 +0000
committerAlberto Mardegan <mardy@users.sourceforge.net>2008-07-01 07:40:27 +0000
commit3d0a81b3ac3f82cd45326b12c3d924f5adff6e82 (patch)
treeaa1a8434f57645b7df70508bd4e9ad0b3370f10f
parentfd3045675712fc1393ec1875c5f38db963f3b101 (diff)
Implemented a workaround for gtkdoc to recognize the DBus specialized
types. McAccount signal documentation is now generated. git-svn-id: https://mission-control.svn.sourceforge.net/svnroot/mission-control/trunk@478 d91c8aed-3f2b-0410-a83d-924a1c20a0ba
-rw-r--r--ChangeLog4
-rw-r--r--doc/reference/libmcclient/Makefile.am3
-rw-r--r--doc/reference/libmcclient/tmpl/mc-account.sgml9
3 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ee9f8d03..c3361ee7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-07-01 Alberto Mardegan <alberto.mardegan@nokia.com>
+ * doc/reference/libmcclient/Makefile.am:
+ Implemented a workaround for gtkdoc to recognize the DBus specialized
+ types. McAccount signal documentation is now generated.
+
* doc/reference/libmcclient/libmcclient.types:
Re-enable signal documentation for McAccount; it doesn't work, but
it's not the reason why the build was failing.
diff --git a/doc/reference/libmcclient/Makefile.am b/doc/reference/libmcclient/Makefile.am
index 217cde14..a32e3ef7 100644
--- a/doc/reference/libmcclient/Makefile.am
+++ b/doc/reference/libmcclient/Makefile.am
@@ -23,7 +23,8 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
DOC_SOURCE_DIR=../../../libmcclient
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
-SCANGOBJ_OPTIONS=
+SCANGOBJ_OPTIONS=--type-init-func='g_type_init();dbus_g_bus_get(0,NULL)'
+export DBUS_FATAL_WARNINGS:=0
# Extra options to supply to gtkdoc-scan.
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
diff --git a/doc/reference/libmcclient/tmpl/mc-account.sgml b/doc/reference/libmcclient/tmpl/mc-account.sgml
index f61c80f5..829a4501 100644
--- a/doc/reference/libmcclient/tmpl/mc-account.sgml
+++ b/doc/reference/libmcclient/tmpl/mc-account.sgml
@@ -27,6 +27,15 @@ mc-account
@manager_name:
@protocol_name:
+<!-- ##### SIGNAL McAccount::avatar-changed ##### -->
+<para>
+
+</para>
+
+@mcaccount: the object which received the signal.
+@arg1:
+@arg2:
+
<!-- ##### SIGNAL McAccount::connection-status-changed ##### -->
<para>