diff options
author | Tim Janik <timj@imendio.com> | 2006-03-24 14:03:45 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2006-03-24 14:03:45 +0000 |
commit | adebf25717e32cecd24529293f14a24a1b0c2392 (patch) | |
tree | 8204c861c6d6478ba52ecbaa278bc5d2a3b346ba /gtk/gtktreemodel.h | |
parent | 112f3289d697f371f6d20c5980e6153aad87c7a1 (diff) | |
download | gtk+-adebf25717e32cecd24529293f14a24a1b0c2392.tar.gz |
back out G_GNUC_WARN_UNUSED_RESULT on iterator functions which turned out
Fri Mar 24 14:53:20 2006 Tim Janik <timj@imendio.com>
* gtk/gtktreemodel.h:
* gtk/gtktextbtree.h: back out G_GNUC_WARN_UNUSED_RESULT on iterator
functions which turned out to cause too much trouble.
Diffstat (limited to 'gtk/gtktreemodel.h')
-rw-r--r-- | gtk/gtktreemodel.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtktreemodel.h b/gtk/gtktreemodel.h index 7c5dc2665e..cc5b937d99 100644 --- a/gtk/gtktreemodel.h +++ b/gtk/gtktreemodel.h @@ -136,8 +136,8 @@ GType gtk_tree_path_get_type (void) G_GNUC_CONST; gint gtk_tree_path_compare (const GtkTreePath *a, const GtkTreePath *b); void gtk_tree_path_next (GtkTreePath *path); -gboolean gtk_tree_path_prev (GtkTreePath *path) G_GNUC_WARN_UNUSED_RESULT; -gboolean gtk_tree_path_up (GtkTreePath *path) G_GNUC_WARN_UNUSED_RESULT; +gboolean gtk_tree_path_prev (GtkTreePath *path); +gboolean gtk_tree_path_up (GtkTreePath *path); void gtk_tree_path_down (GtkTreePath *path); gboolean gtk_tree_path_is_ancestor (GtkTreePath *path, @@ -191,14 +191,14 @@ GType gtk_tree_model_get_column_type (GtkTreeModel *tree_model, /* Iterator movement */ gboolean gtk_tree_model_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, - GtkTreePath *path) G_GNUC_WARN_UNUSED_RESULT; + GtkTreePath *path); gboolean gtk_tree_model_get_iter_from_string (GtkTreeModel *tree_model, GtkTreeIter *iter, - const gchar *path_string) G_GNUC_WARN_UNUSED_RESULT; + const gchar *path_string); gchar * gtk_tree_model_get_string_from_iter (GtkTreeModel *tree_model, GtkTreeIter *iter); gboolean gtk_tree_model_get_iter_first (GtkTreeModel *tree_model, - GtkTreeIter *iter) G_GNUC_WARN_UNUSED_RESULT; + GtkTreeIter *iter); GtkTreePath * gtk_tree_model_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter); void gtk_tree_model_get_value (GtkTreeModel *tree_model, @@ -206,10 +206,10 @@ void gtk_tree_model_get_value (GtkTreeModel *tree_model, gint column, GValue *value); gboolean gtk_tree_model_iter_next (GtkTreeModel *tree_model, - GtkTreeIter *iter) G_GNUC_WARN_UNUSED_RESULT; + GtkTreeIter *iter); gboolean gtk_tree_model_iter_children (GtkTreeModel *tree_model, GtkTreeIter *iter, - GtkTreeIter *parent) G_GNUC_WARN_UNUSED_RESULT; + GtkTreeIter *parent); gboolean gtk_tree_model_iter_has_child (GtkTreeModel *tree_model, GtkTreeIter *iter); gint gtk_tree_model_iter_n_children (GtkTreeModel *tree_model, @@ -217,10 +217,10 @@ gint gtk_tree_model_iter_n_children (GtkTreeModel *tree_model, gboolean gtk_tree_model_iter_nth_child (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *parent, - gint n) G_GNUC_WARN_UNUSED_RESULT; + gint n); gboolean gtk_tree_model_iter_parent (GtkTreeModel *tree_model, GtkTreeIter *iter, - GtkTreeIter *child) G_GNUC_WARN_UNUSED_RESULT; + GtkTreeIter *child); void gtk_tree_model_ref_node (GtkTreeModel *tree_model, GtkTreeIter *iter); void gtk_tree_model_unref_node (GtkTreeModel *tree_model, |