summaryrefslogtreecommitdiff
path: root/gtk/gtkhseparator.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/gtkhseparator.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/gtkhseparator.h')
-rw-r--r--gtk/gtkhseparator.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/gtk/gtkhseparator.h b/gtk/gtkhseparator.h
index 60f1b02d29..0ca3aa28ac 100644
--- a/gtk/gtkhseparator.h
+++ b/gtk/gtkhseparator.h
@@ -26,12 +26,15 @@
#ifdef __cplusplus
extern "C" {
+#pragma }
#endif /* __cplusplus */
-#define GTK_HSEPARATOR(obj) GTK_CHECK_CAST (obj, gtk_hseparator_get_type (), GtkHSeparator)
-#define GTK_HSEPARATOR_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_hseparator_get_type (), GtkHSeparatorClass)
-#define GTK_IS_HSEPARATOR(obj) GTK_CHECK_TYPE (obj, gtk_hseparator_get_type ())
+#define GTK_TYPE_HSEPARATOR (gtk_hseparator_get_type ())
+#define GTK_HSEPARATOR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_HSEPARATOR, GtkHSeparator))
+#define GTK_HSEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_HSEPARATOR, GtkHSeparatorClass))
+#define GTK_IS_HSEPARATOR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_HSEPARATOR))
+#define GTK_IS_HSEPARATOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_HSEPARATOR))
typedef struct _GtkHSeparator GtkHSeparator;
@@ -48,13 +51,13 @@ struct _GtkHSeparatorClass
};
-guint gtk_hseparator_get_type (void);
+GtkType gtk_hseparator_get_type (void);
GtkWidget* gtk_hseparator_new (void);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
-
#endif /* __GTK_HSEPARATOR_H__ */