From a91be9352faad5e29728cc7e7e344eb5690096be Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Tue, 14 Jul 1998 16:34:48 +0000 Subject: macro and GtkType fixups. Tue Jul 14 11:41:38 1998 Tim Janik * gtk/gtkdialog.h: * gtk/gtkseparator.h: * gtk/gtkhseparator.h: * gtk/gtkvseparator.h: macro and GtkType fixups. --- gtk/gtkseparator.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'gtk/gtkseparator.h') diff --git a/gtk/gtkseparator.h b/gtk/gtkseparator.h index 371d54a3fb..472274afb6 100644 --- a/gtk/gtkseparator.h +++ b/gtk/gtkseparator.h @@ -26,12 +26,15 @@ #ifdef __cplusplus extern "C" { +#pragma } #endif /* __cplusplus */ -#define GTK_SEPARATOR(obj) GTK_CHECK_CAST (obj, gtk_separator_get_type (), GtkSeparator) -#define GTK_SEPARATOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_separator_get_type (), GtkSeparatorClass) -#define GTK_IS_SEPARATOR(obj) GTK_CHECK_TYPE (obj, gtk_separator_get_type ()) +#define GTK_TYPE_SEPARATOR (gtk_separator_get_type ()) +#define GTK_SEPARATOR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_SEPARATOR, GtkSeparator)) +#define GTK_SEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEPARATOR, GtkSeparatorClass)) +#define GTK_IS_SEPARATOR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_SEPARATOR)) +#define GTK_IS_SEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEPARATOR)) typedef struct _GtkSeparator GtkSeparator; @@ -48,12 +51,11 @@ struct _GtkSeparatorClass }; -guint gtk_separator_get_type (void); +GtkType gtk_separator_get_type (void); #ifdef __cplusplus } #endif /* __cplusplus */ - #endif /* __GTK_SEPARATOR_H__ */ -- cgit v1.2.1