projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a6a461
)
Fix unused function warning on X
author
Po Lu
<luangruo@yahoo.com>
Tue, 17 May 2022 10:18:32 +0000
(18:18 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Tue, 17 May 2022 10:18:32 +0000
(18:18 +0800)
* src/xsettings.c (xg_settings_key_valid_p): Surround with
HAVE_PGTK and HAVE_GSETTINGS.
src/xsettings.c
patch
|
blob
|
history
diff --git
a/src/xsettings.c
b/src/xsettings.c
index 45341d8ebd5b00208ad369e810682faacc0fb872..c29a844e0a8bf638aab2e04780c911f00e19a247 100644
(file)
--- a/
src/xsettings.c
+++ b/
src/xsettings.c
@@
-230,6
+230,8
@@
static cairo_font_options_t *font_options;
static GSettings *gsettings_client;
+#if defined HAVE_PGTK && defined HAVE_GSETTINGS
+
static bool
xg_settings_key_valid_p (GSettings *settings, const char *key)
{
@@
-253,6
+255,8
@@
xg_settings_key_valid_p (GSettings *settings, const char *key)
#endif
}
+#endif
+
#ifdef HAVE_PGTK
/* Store an event for re-rendering of the fonts. */
static void