diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2019-11-19 08:19:00 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2019-11-19 08:19:00 +0100 |
commit | a15431ffe23838025e7b20131c16bbeb80ce4090 (patch) | |
tree | 809a8c9d42fb326358e3db03002fe03dcbadc23d /src/gtkutil.c | |
parent | 3cc06d1abb6587e0922a5ddc7a7febd3dd71d55a (diff) | |
parent | 5bc97ebceb54e0eb2804bef4c1bc32a40d8a2371 (diff) | |
download | emacs-a15431ffe23838025e7b20131c16bbeb80ce4090.tar.gz |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r-- | src/gtkutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index c4d2ef9d80b..25ef5dd248d 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -2228,7 +2228,7 @@ xg_get_file_name (struct frame *f, static char *x_last_font_name; -#if GTK_CHECK_VERSION (3, 2, 0) +#ifdef HAVE_GTK3 static gboolean xg_font_filter (const PangoFontFamily *family, const PangoFontFace *face, @@ -2262,7 +2262,7 @@ xg_get_font (struct frame *f, const char *default_name) w = gtk_font_chooser_dialog_new ("Pick a font", GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f))); -#if GTK_CHECK_VERSION (3, 2, 0) +#ifdef HAVE_GTK3 gtk_font_chooser_set_filter_func (GTK_FONT_CHOOSER (w), xg_font_filter, NULL, NULL); #endif if (default_name) |