summaryrefslogtreecommitdiff
path: root/gtk/gtktextiter.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-03-02 19:11:47 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-03-02 19:11:47 +0000
commitf832e3484d146343e6f6bf4b36c4f19746f521f2 (patch)
tree68b59d24f1a4146508e595588a87842f971e64b6 /gtk/gtktextiter.h
parent36e686e6a723f83abc4ff31b076765cdd069b241 (diff)
downloadgtk+-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/gtktextiter.h')
-rw-r--r--gtk/gtktextiter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtktextiter.h b/gtk/gtktextiter.h
index 7c03968719..0c8c56cc95 100644
--- a/gtk/gtktextiter.h
+++ b/gtk/gtktextiter.h
@@ -48,6 +48,8 @@ typedef enum {
typedef struct _GtkTextBuffer GtkTextBuffer;
+#define GTK_TYPE_TEXT_ITER (gtk_text_iter_get_type ())
+
struct _GtkTextIter {
/* GtkTextIter is an opaque datatype; ignore all these fields.
* Initialize the iter with gtk_text_buffer_get_iter_*
@@ -83,6 +85,8 @@ GtkTextBuffer *gtk_text_iter_get_buffer (const GtkTextIter *iter);
GtkTextIter *gtk_text_iter_copy (const GtkTextIter *iter);
void gtk_text_iter_free (GtkTextIter *iter);
+GType gtk_text_iter_get_type (void);
+
/*
* Convert to different kinds of index
*/