diff options
author | Yuuki Harano <masm+github@masm11.me> | 2021-11-23 22:59:18 +0900 |
---|---|---|
committer | Yuuki Harano <masm+github@masm11.me> | 2021-11-23 22:59:18 +0900 |
commit | a68575a8146277bd08b4d09b7ca4329c0e5212e0 (patch) | |
tree | 9724c33ebb9221ba2b168820ab6b2bd51e3281b7 /src/emacsgtkfixed.h | |
parent | bc53310aaf1a2b71c1476ae1fffb1b137fb8d617 (diff) | |
download | emacs-a68575a8146277bd08b4d09b7ca4329c0e5212e0.tar.gz |
Enclose pgtk changes within #ifdef
* src/emacsgtkfixed.c:
* src/emacsgtkfixed.h:
Diffstat (limited to 'src/emacsgtkfixed.h')
-rw-r--r-- | src/emacsgtkfixed.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emacsgtkfixed.h b/src/emacsgtkfixed.h index 9b69bbb99db..4f7a4eb3f71 100644 --- a/src/emacsgtkfixed.h +++ b/src/emacsgtkfixed.h @@ -27,8 +27,10 @@ struct frame; G_BEGIN_DECLS +#ifdef HAVE_PGTK #define EMACS_TYPE_FIXED (emacs_fixed_get_type ()) #define EMACS_IS_FIXED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMACS_TYPE_FIXED)) +#endif struct frame; @@ -47,7 +49,9 @@ struct _EmacsFixedClass GtkFixedClass parent_class; }; +#ifdef HAVE_PGTK extern GType emacs_fixed_get_type (void); +#endif extern GtkWidget *emacs_fixed_new (struct frame *f); |