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/gtkstyle.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/gtkstyle.h')
-rw-r--r-- | gtk/gtkstyle.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h index 02b8a6e27b..844187466c 100644 --- a/gtk/gtkstyle.h +++ b/gtk/gtkstyle.h @@ -43,6 +43,8 @@ extern "C" { #define GTK_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_STYLE)) #define GTK_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_STYLE, GtkStyleClass)) +#define GTK_TYPE_BORDER (gtk_border_get_type ()) + /* Some forward declarations needed to rationalize the header * files. */ @@ -849,8 +851,9 @@ void gtk_paint_resize_grip (GtkStyle *style, gint height); -GtkBorder *gtk_border_copy (const GtkBorder *border); -void gtk_border_free (GtkBorder *border); +GType gtk_border_get_type (void); +GtkBorder *gtk_border_copy (const GtkBorder *border); +void gtk_border_free ( GtkBorder *border); /* --- private API --- */ const GValue* _gtk_style_peek_property_value (GtkStyle *style, |