unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: Tjernlund <tjernlund@tjernlund.se>, 32975@debbugs.gnu.org
Subject: bug#32975: Emacs 26.1; GTK Warnings
Date: Thu, 11 Oct 2018 11:50:04 +0200	[thread overview]
Message-ID: <87k1mo3j8z.fsf@gmail.com> (raw)
In-Reply-To: <5BBF18C8.2040201@gmx.at> (martin rudalics's message of "Thu, 11 Oct 2018 11:32:56 +0200")

martin rudalics <rudalics@gmx.at> writes:

>> We do, but I only see xg_set_widget_bg getting called on scrollbar
>> widgets when USE_TOOLKIT_SCROLL_BARS is set, in which case they're GTK
>> widgets, so thatʼs the right thing to do.
>
> I apologize for my stubbornness.
>

No apology needed

> xg_set_background_color (struct frame *f, unsigned long bg)
>
> has
>
>       xg_set_widget_bg (f, FRAME_GTK_WIDGET (f), FRAME_BACKGROUND_PIXEL (f));
>
> which IIUC does not work on scrollbar widgets.

There is only one call to xg_set_background_color, from xfns.c, which looks
like this with my patch applied:

#ifdef USE_TOOLKIT_SCROLL_BARS
# ifdef USE_GTK
      xg_set_background_color (f, bg);
# endif
#else

So it will only ever happen when the scrollbars are GTK widgets.

Robert





  reply	other threads:[~2018-10-11  9:50 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-07 18:19 bug#32975: Emacs 26.1; GTK Warnings Tjernlund
2018-10-07 19:03 ` Eli Zaretskii
2018-10-08  5:27   ` Tjernlund
2018-10-09 15:10     ` Eli Zaretskii
2018-10-09 18:01       ` Tjernlund
2018-10-09 18:18         ` Eli Zaretskii
2018-10-09 18:33           ` Tjernlund
2018-10-09 19:13             ` Eli Zaretskii
2018-10-10  8:04               ` Robert Pluim
2018-10-10  8:46                 ` martin rudalics
2018-10-10 10:08                   ` Robert Pluim
2018-10-10 17:44                     ` Tjernlund
2018-10-11  6:27                       ` Robert Pluim
2018-10-11  7:35                         ` Robert Pluim
2018-10-11  8:24                           ` martin rudalics
2018-10-11  8:33                             ` Robert Pluim
2018-10-11  8:58                               ` martin rudalics
2018-10-11  9:22                                 ` Robert Pluim
2018-10-11  9:32                                   ` martin rudalics
2018-10-11  9:50                                     ` Robert Pluim [this message]
2018-10-11 12:02                                       ` martin rudalics
2018-10-11 12:26                                         ` Robert Pluim
2018-10-11 13:51                                           ` martin rudalics
2018-10-11 14:06                                             ` Robert Pluim
2018-10-11 14:25                                               ` Eli Zaretskii
2018-10-13  8:46                                                 ` Robert Pluim
2018-10-11 19:43                                               ` Tjernlund
2018-10-11 19:51                                                 ` Tjernlund
2018-10-11 21:04                                                   ` martin rudalics
2018-10-11 21:54                                                     ` Tjernlund
2018-10-12  4:28                                                       ` Eli Zaretskii
2018-10-12  5:31                                                         ` Tjernlund
2018-10-12  6:36                                                           ` Eli Zaretskii
     [not found]                                                             ` <1539444400.8755.38.camel@tjernlund.se>
2018-10-14  2:36                                                               ` Eli Zaretskii
     [not found]                                                                 ` <1539505906.8755.41.camel@tjernlund.se>
2018-10-14 14:57                                                                   ` Eli Zaretskii
2018-10-14 15:22                                                                     ` Tjernlund
2018-10-14 16:02                                                                       ` Eli Zaretskii
2018-10-14 20:00                                                                         ` Tjernlund
2018-10-12  8:44                                                       ` martin rudalics
2018-10-11 13:58                           ` Eli Zaretskii
2018-10-11 17:10                             ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k1mo3j8z.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=32975@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    --cc=tjernlund@tjernlund.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).