diff options
author | Tim Janik <timj@gtk.org> | 1998-06-29 11:41:46 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-06-29 11:41:46 +0000 |
commit | 1d82cc2f2ed92395635e9cce3d628ddd0e8696d1 (patch) | |
tree | d888e25453e800e3e81d2142349051f3d9d0d1d4 /gtk/gtkarrow.h | |
parent | dedcbc99188e155a7341b73e034ce404eb1192ac (diff) | |
download | gdk-pixbuf-1d82cc2f2ed92395635e9cce3d628ddd0e8696d1.tar.gz |
GtkType and macro fixups. widget argument implementation:
Mon Jun 29 13:39:45 1998 Tim Janik <timj@gtk.org>
* gtk/gtkarrow.h: GtkType and macro fixups.
* gtk/gtkarrow.c: widget argument implementation: "GtkArrow::arrow_type",
"GtkArrow::shadow_type".
Diffstat (limited to 'gtk/gtkarrow.h')
-rw-r--r-- | gtk/gtkarrow.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/gtkarrow.h b/gtk/gtkarrow.h index e0ce41ad7..bc495cc97 100644 --- a/gtk/gtkarrow.h +++ b/gtk/gtkarrow.h @@ -29,9 +29,11 @@ extern "C" { #endif /* __cplusplus */ -#define GTK_ARROW(obj) GTK_CHECK_CAST (obj, gtk_arrow_get_type (), GtkArrow) -#define GTK_ARROW_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_arrow_get_type (), GtkArrowClass) -#define GTK_IS_ARROW(obj) GTK_CHECK_TYPE (obj, gtk_arrow_get_type ()) +#define GTK_TYPE_ARROW (gtk_arrow_get_type ()) +#define GTK_ARROW(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_ARROW, GtkArrow)) +#define GTK_ARROW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_ARROW, GtkArrowClass)) +#define GTK_IS_ARROW(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_ARROW)) +#define GTK_IS_ARROW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ARROW)) typedef struct _GtkArrow GtkArrow; @@ -51,7 +53,7 @@ struct _GtkArrowClass }; -guint gtk_arrow_get_type (void); +GtkType gtk_arrow_get_type (void); GtkWidget* gtk_arrow_new (GtkArrowType arrow_type, GtkShadowType shadow_type); void gtk_arrow_set (GtkArrow *arrow, |