diff options
author | Tim Janik <timj@gtk.org> | 1998-06-28 10:07:37 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-06-28 10:07:37 +0000 |
commit | 09423315a14fadac795d2590570790952d49d757 (patch) | |
tree | d024fb181956f2209c424bbfd7ffd890acb16c0b /gtk/gtkbin.h | |
parent | e63d08e43f7f736556dd9d8cb401a68dac18e1fd (diff) | |
download | gtk+-09423315a14fadac795d2590570790952d49d757.tar.gz |
GtkType and macro fixups.
Sun Jun 28 11:39:17 1998 Tim Janik <timj@gtk.org>
* gtk/gtkalignment.h:
* gtk/gtkbin.h: GtkType and macro fixups.
* gtk/gtkalignment.c (gtk_alignment_class_init): widget argument
implementation: GtkAlignment::xalign, GtkAlignment::yalign,
GtkAlignment::xscale, GtkAlignment::yscale.
Diffstat (limited to 'gtk/gtkbin.h')
-rw-r--r-- | gtk/gtkbin.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/gtkbin.h b/gtk/gtkbin.h index 02a8c44d55..85d9be5408 100644 --- a/gtk/gtkbin.h +++ b/gtk/gtkbin.h @@ -29,9 +29,11 @@ extern "C" { #endif /* __cplusplus */ -#define GTK_BIN(obj) GTK_CHECK_CAST (obj, gtk_bin_get_type (), GtkBin) -#define GTK_BIN_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_bin_get_type (), GtkBinClass) -#define GTK_IS_BIN(obj) GTK_CHECK_TYPE (obj, gtk_bin_get_type ()) +#define GTK_TYPE_BIN (gtk_bin_get_type ()) +#define GTK_BIN(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_BIN, GtkBin)) +#define GTK_BIN_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_BIN, GtkBinClass)) +#define GTK_IS_BIN(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_BIN)) +#define GTK_IS_BIN_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BIN)) typedef struct _GtkBin GtkBin; @@ -50,7 +52,7 @@ struct _GtkBinClass }; -guint gtk_bin_get_type (void); +GtkType gtk_bin_get_type (void); #ifdef __cplusplus |