From 09423315a14fadac795d2590570790952d49d757 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Sun, 28 Jun 1998 10:07:37 +0000 Subject: GtkType and macro fixups. Sun Jun 28 11:39:17 1998 Tim Janik * 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. --- gtk/gtkbin.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gtk/gtkbin.h') diff --git a/gtk/gtkbin.h b/gtk/gtkbin.h index 02a8c44d5..85d9be540 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 -- cgit v1.2.1