GNU bug report logs - #55463
[PATCH] Fix font options compilation with gsettings disabled

Previous Next

Package: emacs;

Reported by: Pieter van Prooijen <pieter.van.prooijen <at> teloden.nl>

Date: Mon, 16 May 2022 20:23:02 UTC

Severity: normal

Tags: patch

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pieter van Prooijen <pieter.van.prooijen <at> teloden.nl>
To: Po Lu <luangruo <at> yahoo.com>
Cc: wilde <at> sha-bang.de, 55463 <at> debbugs.gnu.org
Subject: bug#55463: [PATCH] Fix font options compilation with gsettings disabled
Date: Tue, 17 May 2022 10:28:55 +0200
[Message part 1 (text/plain, inline)]
Hi, 

I've reverted the change in the comment, here's the patch without that
change.

Kind Regards,

Pieter

On Tue, 2022-05-17 at 09:05 +0800, Po Lu wrote:
> Pieter van Prooijen <pieter.van.prooijen <at> teloden.nl> writes:
> 
> > Hello All,
> > 
> > This is a small patch to make the recent gsettings font rendering
> > changes compile when pgtk is configured but gsettings is not.
> 
> Thanks.
> 
> > -/* Return the cairo font options, updated from the gsettings font
> > -   config entries.  The caller should call
> > cairo_font_options_destroy
> > -   on the result.  */
> > +/* Return the cairo font options, optionally updated from the
> > gsettings
> > +   font config entries.  The caller should call
> > +   cairo_font_options_destroy on the result.  */
> 
> I think this change is extraneous.  That comment doesn't have to be
> so
> detailed, since building Emacs without GSettings support is a rather
> oddball configuration, and it obviously cannot be used without
> support
> being built-in.
> 
> Otherwise, LGTM.

[0001-Fix-font-options-compilation-with-gsettings-disabled.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.