summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-07-26 14:10:37 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-07-26 14:10:37 -0400
commit3358c544da2cd079f5f565b5fec885a1e750f1f2 (patch)
tree0ee08962275639806acc66b586d389af10a28920 /gtk
parentfea23b95d9578741887966f871251ae3d712a42e (diff)
downloadgtk+-3358c544da2cd079f5f565b5fec885a1e750f1f2.tar.gz
Some documentation fixes
Some incomplete renamings in the doc comments for the template child macros.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkwidget.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 9e0fc79d25..c5d4f92969 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -1179,8 +1179,9 @@ void gtk_widget_remove_tick_callback (GtkWidget *widget,
/**
* gtk_widget_class_bind_template_child:
* @widget_class: a #GtkWidgetClass
- * @data_type: the type name of this widget
- * @member_name: name of the instance private member on @private_data_type
+ * @TypeName: the type name of this widget
+ * @member_name: name of the instance private member on the
+ * private struct for @data_type
*
* Binds a child widget defined in a template to the @widget_class.
*
@@ -1188,7 +1189,8 @@ void gtk_widget_remove_tick_callback (GtkWidget *widget,
* gtk_widget_class_bind_template_child_full() function.
*
* This macro will use the offset of the @member_name inside the @TypeName
- * private data structure.
+ * private data structure (it uses G_PRIVATE_OFFSET(), so the private struct
+ * must be added with G_ADD_PRIVATE()).
*
* Since: 3.10
*/