[gtk+] docs: Add an cross-reference to template docs



commit cd8b19dcb0403279f372240f41848136fa0b9945
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Apr 21 07:12:58 2015 -0500

    docs: Add an cross-reference to template docs

 gtk/gtkbuilder.c |    1 +
 gtk/gtkwidget.c  |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index b0775d2..069106b 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -203,6 +203,7 @@
  *
  * Additionally, since 3.10 a special <template> tag has been added
  * to the format allowing one to define a widget class’s components.
+ * See the [GtkWidget documentation][composite-templates] for details.
  */
 
 #include "config.h"
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 1545441..e1db357 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -319,7 +319,7 @@
  * </object>
  * ]|
  *
- * # Building composite widgets from template XML
+ * # Building composite widgets from template XML ## {#composite-templates}
  *
  * GtkWidget exposes some facilities to automate the proceedure
  * of creating composite widgets using #GtkBuilder interface description


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]