summaryrefslogtreecommitdiff
path: root/src/emacsgtkfixed.c
diff options
context:
space:
mode:
authorYuuki Harano <masm+github@masm11.me>2021-11-23 22:59:18 +0900
committerYuuki Harano <masm+github@masm11.me>2021-11-23 22:59:18 +0900
commita68575a8146277bd08b4d09b7ca4329c0e5212e0 (patch)
tree9724c33ebb9221ba2b168820ab6b2bd51e3281b7 /src/emacsgtkfixed.c
parentbc53310aaf1a2b71c1476ae1fffb1b137fb8d617 (diff)
downloademacs-a68575a8146277bd08b4d09b7ca4329c0e5212e0.tar.gz
Enclose pgtk changes within #ifdef
* src/emacsgtkfixed.c: * src/emacsgtkfixed.h:
Diffstat (limited to 'src/emacsgtkfixed.c')
-rw-r--r--src/emacsgtkfixed.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emacsgtkfixed.c b/src/emacsgtkfixed.c
index 49c3dab9211..78c952f8054 100644
--- a/src/emacsgtkfixed.c
+++ b/src/emacsgtkfixed.c
@@ -51,6 +51,9 @@ static void emacs_fixed_get_preferred_width (GtkWidget *widget,
static void emacs_fixed_get_preferred_height (GtkWidget *widget,
gint *minimum,
gint *natural);
+#ifndef HAVE_PGTK
+static GType emacs_fixed_get_type (void);
+#endif
G_DEFINE_TYPE (EmacsFixed, emacs_fixed, GTK_TYPE_FIXED)
static EmacsFixed *