X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtktreemodel.h;h=fed9850b3e04a8ac052327116c83bc6db61a2e40;hb=ca2368dba958d6fecf2fce417307bb9cbbe6eb6b;hp=45bc7cebf4a4c6010f9b4c482e595fdc481d75b8;hpb=e9319c618212f385d5e3702cc86c51bd87970356;p=~andy%2Fgtk diff --git a/gtk/gtktreemodel.h b/gtk/gtktreemodel.h index 45bc7cebf..fed9850b3 100644 --- a/gtk/gtktreemodel.h +++ b/gtk/gtktreemodel.h @@ -12,18 +12,16 @@ * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * 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 @@ -192,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;