mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-29 16:41:45 -08:00
Fix unused function warning on X
* src/xsettings.c (xg_settings_key_valid_p): Surround with HAVE_PGTK and HAVE_GSETTINGS.
This commit is contained in:
parent
1a6a4614ce
commit
38dfe9d2f7
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue