summaryrefslogtreecommitdiff
path: root/gtk/gtkseparator.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-07-14 16:34:48 +0000
committerTim Janik <timj@src.gnome.org>1998-07-14 16:34:48 +0000
commita91be9352faad5e29728cc7e7e344eb5690096be (patch)
treeee11fce117e15cf41b985b2b79e565552d970ed2 /gtk/gtkseparator.h
parentda355feec6ec673ac09f1b29f618bd9b444a3f47 (diff)
downloadgtk+-a91be9352faad5e29728cc7e7e344eb5690096be.tar.gz
macro and GtkType fixups.
Tue Jul 14 11:41:38 1998 Tim Janik <timj@gtk.org> * gtk/gtkdialog.h: * gtk/gtkseparator.h: * gtk/gtkhseparator.h: * gtk/gtkvseparator.h: macro and GtkType fixups.
Diffstat (limited to 'gtk/gtkseparator.h')
-rw-r--r--gtk/gtkseparator.h12
1 files changed, 7 insertions, 5 deletions
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__ */