summaryrefslogtreecommitdiff
path: root/gtk/gtktextbtree.h
diff options
context:
space:
mode:
authorTim Janik <timj@imendio.com>2006-02-24 11:02:25 +0000
committerTim Janik <timj@src.gnome.org>2006-02-24 11:02:25 +0000
commit0ffd8a84cb0b252d4acbb6327d3049d6cad4701e (patch)
tree0bcbbdfc7b44b5338112d7e1eb860710991f4315 /gtk/gtktextbtree.h
parente48a60ce81a587b9a9f55bd3f235cdde1a41356f (diff)
downloadgtk+-0ffd8a84cb0b252d4acbb6327d3049d6cad4701e.tar.gz
added G_GNUC_WARN_UNUSED_RESULT warnings for iterator functions, to avoid
Fri Feb 17 14:20:29 2006 Tim Janik <timj@imendio.com> * gtk/gtktreemodel.h: * gtk/gtktextbtree.h: added G_GNUC_WARN_UNUSED_RESULT warnings for iterator functions, to avoid invalid iterators go unnoticed, suggested by Markku Vire <markku.vire@movial.fi>.
Diffstat (limited to 'gtk/gtktextbtree.h')
-rw-r--r--gtk/gtktextbtree.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtktextbtree.h b/gtk/gtktextbtree.h
index 2b2d17cba1..d757aecbd1 100644
--- a/gtk/gtktextbtree.h
+++ b/gtk/gtktextbtree.h
@@ -155,10 +155,10 @@ void _gtk_text_btree_get_iter_at_line_byte (GtkTextBTree *tree,
gint byte_index);
gboolean _gtk_text_btree_get_iter_from_string (GtkTextBTree *tree,
GtkTextIter *iter,
- const gchar *string);
+ const gchar *string) G_GNUC_WARN_UNUSED_RESULT;
gboolean _gtk_text_btree_get_iter_at_mark_name (GtkTextBTree *tree,
GtkTextIter *iter,
- const gchar *mark_name);
+ const gchar *mark_name) G_GNUC_WARN_UNUSED_RESULT;
void _gtk_text_btree_get_iter_at_mark (GtkTextBTree *tree,
GtkTextIter *iter,
GtkTextMark *mark);
@@ -170,10 +170,10 @@ void _gtk_text_btree_get_iter_at_line (GtkTextBTree *tree,
gint byte_offset);
gboolean _gtk_text_btree_get_iter_at_first_toggle (GtkTextBTree *tree,
GtkTextIter *iter,
- GtkTextTag *tag);
+ GtkTextTag *tag) G_GNUC_WARN_UNUSED_RESULT;
gboolean _gtk_text_btree_get_iter_at_last_toggle (GtkTextBTree *tree,
GtkTextIter *iter,
- GtkTextTag *tag);
+ GtkTextTag *tag) G_GNUC_WARN_UNUSED_RESULT;
void _gtk_text_btree_get_iter_at_child_anchor (GtkTextBTree *tree,
GtkTextIter *iter,