diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-03-02 19:11:47 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-03-02 19:11:47 +0000 |
commit | f832e3484d146343e6f6bf4b36c4f19746f521f2 (patch) | |
tree | 68b59d24f1a4146508e595588a87842f971e64b6 /gtk/gtktreemodel.h | |
parent | 36e686e6a723f83abc4ff31b076765cdd069b241 (diff) | |
download | gtk+-f832e3484d146343e6f6bf4b36c4f19746f521f2.tar.gz |
Switch style of stamp file usage.
Sat Mar 2 13:26:58 2002 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am: Switch style of stamp file usage.
* gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported
enumeration/fags TYPE variables over to macros for get_type() functions,
for lazy definition and to get rid of expensive relocations.
* gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch]
gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch]
gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type
definitions over manually coded get_type() functions.
* gtk/gtk.def: Updates for above
* gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}:
Remove from CVS, no longer used.
* configure.in: Remove checks for awk.
Diffstat (limited to 'gtk/gtktreemodel.h')
-rw-r--r-- | gtk/gtktreemodel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtktreemodel.h b/gtk/gtktreemodel.h index 6bc0e231d5..09109a8a1b 100644 --- a/gtk/gtktreemodel.h +++ b/gtk/gtktreemodel.h @@ -29,6 +29,9 @@ G_BEGIN_DECLS #define GTK_IS_TREE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL)) #define GTK_TREE_MODEL_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModelIface)) +#define GTK_TYPE_TREE_ITER (gtk_tree_iter_get_type ()) +#define GTK_TYPE_TREE_PATH (gtk_tree_path_get_type ()) + typedef struct _GtkTreeIter GtkTreeIter; typedef struct _GtkTreePath GtkTreePath; typedef struct _GtkTreeRowReference GtkTreeRowReference; @@ -124,6 +127,7 @@ gint gtk_tree_path_get_depth (GtkTreePath *path); gint *gtk_tree_path_get_indices (GtkTreePath *path); void gtk_tree_path_free (GtkTreePath *path); GtkTreePath *gtk_tree_path_copy (GtkTreePath *path); +GType gtk_tree_path_get_type (void); gint gtk_tree_path_compare (const GtkTreePath *a, const GtkTreePath *b); void gtk_tree_path_next (GtkTreePath *path); @@ -163,6 +167,7 @@ void gtk_tree_row_reference_reordered (GObject *proxy, /* GtkTreeIter operations */ GtkTreeIter * gtk_tree_iter_copy (GtkTreeIter *iter); void gtk_tree_iter_free (GtkTreeIter *iter); +GType gtk_tree_iter_get_type (void); GtkType gtk_tree_model_get_type (void) G_GNUC_CONST; GtkTreeModelFlags gtk_tree_model_get_flags (GtkTreeModel *tree_model); |