s/gint/guint/ in gtktree*.h



hi jonathan,

the following functions should return guint in your API:

gtktreemodel.h:gint           gtk_tree_path_get_depth        (GtkTreePath  *path);
gtktreemodel.h:gint           gtk_tree_model_node_n_children (GtkTreeModel *tree_model,
gtktreemodel.h:gint           gtk_tree_model_get_n_columns   (GtkTreeModel *tree_model);
gtktreestore.h:gint         gtk_tree_store_node_depth         (GtkTreeStore *tree_store,
gtktreeview.h:gint                   gtk_tree_view_append_column       (GtkTreeView       *tree_view,
gtktreeview.h:gint                   gtk_tree_view_remove_column       (GtkTreeView       *tree_view,
gtktreeview.h:gint                   gtk_tree_view_insert_column       (GtkTreeView       *tree_view,

(gtk_tree_store_node_depth() even returns the value from g_node_depth() which
has been guint in the first place)

and these should probably return gboolean:
gtktreemodel.h:gint           gtk_tree_path_prev             (GtkTreePath  *path);
gtktreemodel.h:gint           gtk_tree_path_up               (GtkTreePath  *path);

further,
s/gint/GtkTreeViewColumnType/:
gtktreeviewcolumn.h:gint             gtk_tree_view_column_get_col_type        (GtkTreeViewColumn     *tree_column);

---
ciaoTJ






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]