comparison src/gtk-xemacs.h @ 1743:543769b89fed

[xemacs-hg @ 2003-10-14 05:02:57 by james] New compiler.h contains compiler-specific defines. Use it everywhere.
author james
date Tue, 14 Oct 2003 05:03:13 +0000
parents 0784d089fdc9
children db7068430402
comparison
equal deleted inserted replaced
1742:7f92ee59c996 1743:543769b89fed
13 #include <config.h> 13 #include <config.h>
14 #include "frame.h" 14 #include "frame.h"
15 #include <gdk/gdk.h> 15 #include <gdk/gdk.h>
16 #include <gtk/gtkfixed.h> 16 #include <gtk/gtkfixed.h>
17 17
18 #ifdef __cplusplus 18 BEGIN_C_DECLS
19 extern "C" {
20 #endif /* __cplusplus */
21 19
22 #define GTK_XEMACS(obj) GTK_CHECK_CAST (obj, gtk_xemacs_get_type (), GtkXEmacs) 20 #define GTK_XEMACS(obj) GTK_CHECK_CAST (obj, gtk_xemacs_get_type (), GtkXEmacs)
23 #define GTK_XEMACS_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_xemacs_get_type (), GtkXEmacsClass) 21 #define GTK_XEMACS_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_xemacs_get_type (), GtkXEmacsClass)
24 #define GTK_IS_XEMACS(obj) GTK_CHECK_TYPE (obj, gtk_xemacs_get_type ()) 22 #define GTK_IS_XEMACS(obj) GTK_CHECK_TYPE (obj, gtk_xemacs_get_type ())
25 #define GTK_XEMACS_FRAME(obj) GTK_XEMACS (obj)->f 23 #define GTK_XEMACS_FRAME(obj) GTK_XEMACS (obj)->f
39 }; 37 };
40 38
41 guint gtk_xemacs_get_type (void); 39 guint gtk_xemacs_get_type (void);
42 GtkWidget *gtk_xemacs_new (struct frame *f); 40 GtkWidget *gtk_xemacs_new (struct frame *f);
43 41
44 #ifdef __cplusplus 42 END_C_DECLS
45 }
46 #endif /* __cplusplus */
47 43
48 #endif /* __GTK_XEMACS_H__ */ 44 #endif /* __GTK_XEMACS_H__ */