X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtktreemodel.h;h=fed9850b3e04a8ac052327116c83bc6db61a2e40;hb=cb27c4b08c278ac7e8a882b638dbf30acd1436cf;hp=ea81a21c47b13c23cc5a7969e5a046f9ba3cf8c9;hpb=9d0febc9a64a5bfb0fcfc3a88de4757f6c1ff090;p=~andy%2Fgtk diff --git a/gtk/gtktreemodel.h b/gtk/gtktreemodel.h index ea81a21c4..fed9850b3 100644 --- a/gtk/gtktreemodel.h +++ b/gtk/gtktreemodel.h @@ -15,13 +15,13 @@ * License along with this library. If not, see . */ +#ifndef __GTK_TREE_MODEL_H__ +#define __GTK_TREE_MODEL_H__ + #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." #endif -#ifndef __GTK_TREE_MODEL_H__ -#define __GTK_TREE_MODEL_H__ - #include G_BEGIN_DECLS @@ -190,9 +190,12 @@ gboolean gtk_tree_path_is_ancestor (GtkTreePath *path, gboolean gtk_tree_path_is_descendant (GtkTreePath *path, GtkTreePath *ancestor); -/* Row reference (an object that tracks model changes so it refers to the same - * row always; a path refers to a position, not a fixed row). You almost always - * want to call gtk_tree_row_reference_new. +/** + * GtkTreeRowReference: + * + * A GtkTreeRowReference tracks model changes so that it always refers to the + * same row (a #GtkTreePath refers to a position, not a fixed row). Create a + * new GtkTreeRowReference with gtk_tree_row_reference_new(). */ GType gtk_tree_row_reference_get_type (void) G_GNUC_CONST;