diff --git a/glib/docs.c b/glib/docs.c
index 6b4d7d625..6ca8c480f 100644
--- a/glib/docs.c
+++ b/glib/docs.c
@@ -1678,8 +1678,8 @@
/**
* G_STRUCT_OFFSET:
- * @struct_type: a structure type, e.g. GtkWidget
- * @member: a field in the structure, e.g. window
+ * @struct_type: a structure type, e.g. #GtkWidget
+ * @member: a field in the structure, e.g. @window
*
* Returns the offset, in bytes, of a member of a struct.
*
diff --git a/gobject/gtype.c b/gobject/gtype.c
index 6b1cf7d20..098e81624 100644
--- a/gobject/gtype.c
+++ b/gobject/gtype.c
@@ -3178,8 +3178,7 @@ g_type_interface_peek_parent (gpointer g_iface)
* If the type is not currently in use, then the default vtable
* for the type will be created and initalized by calling
* the base interface init and default vtable init functions for
- * the type (the @base_init
- * and class_init members of #GTypeInfo).
+ * the type (the @base_init and @class_init members of #GTypeInfo).
* Calling g_type_default_interface_ref() is useful when you
* want to make sure that signals and properties for an interface
* have been installed.
@@ -3265,8 +3264,7 @@ g_type_default_interface_peek (GType g_type)
* interface default vtable @g_iface. If the type is dynamic, then
* when no one is using the interface and all references have
* been released, the finalize function for the interface's default
- * vtable (the class_finalize member of
- * #GTypeInfo) will be called.
+ * vtable (the @class_finalize member of #GTypeInfo) will be called.
*
* Since: 2.4
*/