<p>This introduces some Doxygen warnings because references broke. This fixes them:</p>
<div class="highlight highlight-source-diff"><pre><span class="pl-c1">diff --git a/src/document.c b/src/document.c</span>
index 902c2d4..f3de37c 100644
<span class="pl-md">--- a/src/document.c</span>
<span class="pl-mi1">+++ b/src/document.c</span>
<span class="pl-mdr">@@ -3273,9 +3273,9 @@</span> const GdkColor *document_get_status_color(GeanyDocument *doc)
}
<span class="pl-md">-/** Accessor function for @ref documents_array items.</span>
<span class="pl-mi1">+/** Accessor function for @ref GeanyData::documents_array items.</span>
* @warning Always check the returned document is valid (@c doc->is_valid).
<span class="pl-md">- * @param idx @c documents_array index.</span>
<span class="pl-mi1">+ * @param idx @c GeanyData::documents_array index.</span>
* @return @transfer{none} @nullable The document, or @c NULL if @a idx is out of range.
*
* @since 0.16
<span class="pl-c1">diff --git a/src/document.h b/src/document.h</span>
index 16316f4..9ecf3fb 100644
<span class="pl-md">--- a/src/document.h</span>
<span class="pl-mi1">+++ b/src/document.h</span>
<span class="pl-mdr">@@ -75,7 +75,7 @@</span> GeanyFilePrefs;
**/
typedef struct GeanyDocument
{
<span class="pl-md">- /** Flag used to check if this document is valid when iterating @ref documents_array. */</span>
<span class="pl-mi1">+ /** Flag used to check if this document is valid when iterating @ref GeanyData::documents_array. */</span>
gboolean is_valid;
gint index; /**< Index in the documents array. */
/** Whether this document supports source code symbols(tags) to show in the sidebar. */
<span class="pl-mdr">@@ -118,7 +118,7 @@</span> typedef struct GeanyDocument
}
GeanyDocument;
<span class="pl-md">-/** Wraps @ref documents_array so it can be used with C array syntax.</span>
<span class="pl-mi1">+/** Wraps @ref GeanyData::documents_array so it can be used with C array syntax.</span>
* @warning Always check the returned document is valid (@c doc->is_valid).
*
* Example: @code GeanyDocument *doc = documents[i]; @endcode
<span class="pl-mdr">@@ -135,7 +135,7 @@</span> GeanyDocument;
/** Iterates all valid document indexes.
* Use like a @c for statement.
<span class="pl-md">- * @param i @c guint index for @ref documents_array.</span>
<span class="pl-mi1">+ * @param i @c guint index for @ref GeanyData::documents_array.</span>
*
* Example:
* @code</pre></div>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/geany/geany/pull/966#issuecomment-198807996">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ_6KKebGNKZlNROf_MF5Gw1oW-xLks5pvIj2gaJpZM4HwfqL.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/geany/geany/pull/966#issuecomment-198807996"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>