summaryrefslogtreecommitdiff
path: root/gtk/gtktexttagtable.c
diff options
context:
space:
mode:
authorSébastien Wilmet <swilmet@gnome.org>2013-08-05 20:37:54 +0200
committerSébastien Wilmet <swilmet@gnome.org>2013-08-05 23:01:37 +0200
commit425deda2be024274efbd34d08c1d1da262b6bb7d (patch)
treeed84926eddb8bb042cff4a623503d752ca52be7d /gtk/gtktexttagtable.c
parent0296f1a43a803c0783781f9941a840256304641f (diff)
downloadgtk+-425deda2be024274efbd34d08c1d1da262b6bb7d.tar.gz
Improve doc of gtk_text_tag_table_remove()
It's obvious, but it's better to say it. https://bugzilla.gnome.org/show_bug.cgi?id=705529
Diffstat (limited to 'gtk/gtktexttagtable.c')
-rw-r--r--gtk/gtktexttagtable.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/gtktexttagtable.c b/gtk/gtktexttagtable.c
index 6c9e500c5d..571fdf8dcb 100644
--- a/gtk/gtktexttagtable.c
+++ b/gtk/gtktexttagtable.c
@@ -310,10 +310,11 @@ gtk_text_tag_table_lookup (GtkTextTagTable *table,
* gtk_text_tag_table_remove:
* @table: a #GtkTextTagTable
* @tag: a #GtkTextTag
- *
- * Remove a tag from the table. This will remove the table's
- * reference to the tag, so be careful - the tag will end
- * up destroyed if you don't have a reference to it.
+ *
+ * Remove a tag from the table. If a #GtkTextBuffer has @table as its tag table,
+ * the tag is removed from the buffer. The table's reference to the tag is
+ * removed, so the tag will end up destroyed if you don't have a reference to
+ * it.
**/
void
gtk_text_tag_table_remove (GtkTextTagTable *table,