From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#28189: 26.0.50; Emacs uses deprecated function gtk_window_parse_geometry Date: Tue, 19 Sep 2017 16:38:47 +0000 Message-ID: References: <599D40CB.1090100@gmx.at> <599D80D1.6090508@gmx.at> <59A13F90.5080804@gmx.at> <59ABEC4A.3050209@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="001a113d688cf0187405598d7ec8" X-Trace: blaine.gmane.org 1505839217 17918 195.159.176.226 (19 Sep 2017 16:40:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Sep 2017 16:40:17 +0000 (UTC) To: martin rudalics , 28189@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 19 18:40:13 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duLZE-0004S6-Ah for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Sep 2017 18:40:12 +0200 Original-Received: from localhost ([::1]:44067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duLZL-0003pb-Pl for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Sep 2017 12:40:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duLZ9-0003mn-UW for bug-gnu-emacs@gnu.org; Tue, 19 Sep 2017 12:40:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duLZ4-0008CB-7S for bug-gnu-emacs@gnu.org; Tue, 19 Sep 2017 12:40:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39808) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1duLZ4-0008C0-2g for bug-gnu-emacs@gnu.org; Tue, 19 Sep 2017 12:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1duLZ3-0006sR-MY for bug-gnu-emacs@gnu.org; Tue, 19 Sep 2017 12:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Sep 2017 16:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28189 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28189-submit@debbugs.gnu.org id=B28189.150583914626355 (code B ref 28189); Tue, 19 Sep 2017 16:40:01 +0000 Original-Received: (at 28189) by debbugs.gnu.org; 19 Sep 2017 16:39:06 +0000 Original-Received: from localhost ([127.0.0.1]:48486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duLYA-0006r1-De for submit@debbugs.gnu.org; Tue, 19 Sep 2017 12:39:06 -0400 Original-Received: from mail-io0-f173.google.com ([209.85.223.173]:49848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duLY8-0006qN-De for 28189@debbugs.gnu.org; Tue, 19 Sep 2017 12:39:04 -0400 Original-Received: by mail-io0-f173.google.com with SMTP id 21so443175iof.6 for <28189@debbugs.gnu.org>; Tue, 19 Sep 2017 09:39:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=BnS7usKmstj0+xnEMeZNhtlvjVwcLJ5FjSg5XCECcgI=; b=u1DX2HRfl0Duf5cNIyeLkYKDbqulV2auZGpKT0Ii8Yh+jwQJIW+RXDCk+HxilQBfRM ULoYUAH+n0khp25lJdJ48We03GPcrSzQEuJvnk2VSwmFIpZHeNtz4MiPzWXSgGLDdmoe zkTobPYjzrVfdNzF8cQVddwRUlysNo57EA8KyNZxJ1nNwW9WZC/jd0i7aJRYYLW0V/BE 700hFypfQiZVxBFChMjOwQsC7P7DMuXrwYznfBTbYrDVoaf/ElAAENFcXc1hsobonVaU s5lSaSHq7slci67CSdDCnj4trOpN+2zeJfe31IqS/FNe8cJ3uyTPiOViIemixBNjUoGx BqJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=BnS7usKmstj0+xnEMeZNhtlvjVwcLJ5FjSg5XCECcgI=; b=AzpnNWywm6uCv9wTu/c8W9OL+jzjKC2tRxeqlqIjBocBgGc5xx2zh+8PCls5sEL3P+ TQ5xX4RIwExAlq2Wy1h4pRF2zbCYTfAQpbj8ZgemUNn1/rwLbiPj4fbcHC2FZWVOjsJS /3h8t51ibkoGLqMi/0eF/EiTYrOityPJ8VmXv1Fj9fq4vuzK1/r59C+6DqpOryo/uVdP K8ue6YaUaJqUtib3b31hdmG3dtaBywX/FE3A2+AYkjcCBa+0qrksE1wWTAro/2Im7/Gy P53fREsJIDl7ca6+zKmPu7irRHkFl6ogq4sPg4R67wG4JzErR3w4CUiBmmUI/jQEBaZL bxlw== X-Gm-Message-State: AHPjjUj2EbAGkd1VxVZsqo1ngTzaTRJ6H766EHFDyQLtGAs1431rh0wm Tv6Y390ZFmkVXdyFMklj5NHvtP/MAsZ8sfMr2ZQ= X-Google-Smtp-Source: AOwi7QDo15OrRGQqGemzpcr/I2tvFQ174V8jvw26PoTMoB/J9+FUKilDtSvb6JZMsTDcX/fLuaDvGo8Og1L4mWip8UA= X-Received: by 10.202.66.196 with SMTP id p187mr2007732oia.52.1505839138468; Tue, 19 Sep 2017 09:38:58 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137136 Archived-At: --001a113d688cf0187405598d7ec8 Content-Type: multipart/alternative; boundary="001a113d688cf0187005598d7ec6" --001a113d688cf0187005598d7ec6 Content-Type: text/plain; charset="UTF-8" Philipp Stephani schrieb am Di., 19. Sep. 2017 um 17:35 Uhr: > martin rudalics schrieb am So., 3. Sep. 2017 um > 13:49 Uhr: > >> >> > The underlying issue here is that GTK no longer seems to have a >> concept of >> > a "background color", but Emacs still assumes that concept exists. >> >> I understand. But can't we catch that in a less intimidating way? >> > > If you only talk about code restructuring, then sure. But if we want to > emulate (instead of just disable) background colors, then some more work is > needed. > > At least setting the background color should be doable in a non-deprecated way using a custom CSS provider, see attached patch. --001a113d688cf0187005598d7ec6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Philip= p Stephani <p.stephani2@gmail.c= om> schrieb am Di., 19. Sep. 2017 um 17:35=C2=A0Uhr:
martin rudalics <rudalics@gmx.at> schrieb am So., 3. Sep. 2017 um 13:49=C2= =A0Uhr:

If you only talk about code restructuring, then sure. But= if we want to emulate (instead of just disable) background colors, then so= me more work is needed.
=C2=A0

At = least setting the background color should be doable in a non-deprecated way= using a custom CSS provider, see attached patch.=C2=A0
--001a113d688cf0187005598d7ec6-- --001a113d688cf0187405598d7ec8 Content-Type: text/plain; charset="US-ASCII"; name="0001-GTK-Use-a-style-provider-instead-of-deprecated-functio.txt" Content-Disposition: attachment; filename="0001-GTK-Use-a-style-provider-instead-of-deprecated-functio.txt" Content-Transfer-Encoding: base64 Content-ID: <15e9b018f98182cd2761> X-Attachment-Id: 15e9b018f98182cd2761 RnJvbSAzZDkzM2Y0NmVjNzRlNGI3NmMzNGZlYjdhYTUyZmM4ZGI3ZjNiZDg4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXBwIFN0ZXBoYW5pIDxwaHN0QGdvb2dsZS5jb20+CkRh dGU6IFN1biwgMjcgQXVnIDIwMTcgMTI6NDI6NTYgKzAyMDAKU3ViamVjdDogW1BBVENIXSBHVEsr OiBVc2UgYSBzdHlsZSBwcm92aWRlciBpbnN0ZWFkIG9mIGRlcHJlY2F0ZWQgZnVuY3Rpb24KCiog c3JjL2d0a3V0aWwuYyAoeGdfc2V0X3dpZGdldF9iZyk6IFVzZSBhIENTUyBzdHlsZSBwcm92aWRl ciBpbnN0ZWFkCm9mIHRoZSBkZXByZWNhdGVkIGd0a193aWRnZXRfb3ZlcnJpZGVfYmFja2dyb3Vu ZF9jb2xvci4KLS0tCiBzcmMvZ3RrdXRpbC5jIHwgMTkgKysrKysrKysrKysrKy0tLS0tLQogMSBm aWxlIGNoYW5nZWQsIDEzIGluc2VydGlvbnMoKyksIDYgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0 IGEvc3JjL2d0a3V0aWwuYyBiL3NyYy9ndGt1dGlsLmMKaW5kZXggOWRjNzRkNGE1Ni4uNGVhMDRi ZWZjZiAxMDA2NDQKLS0tIGEvc3JjL2d0a3V0aWwuYworKysgYi9zcmMvZ3RrdXRpbC5jCkBAIC0x MDUwLDE2ICsxMDUwLDIzIEBAIHN0YXRpYyB2b2lkCiB4Z19zZXRfd2lkZ2V0X2JnIChzdHJ1Y3Qg ZnJhbWUgKmYsIEd0a1dpZGdldCAqdywgdW5zaWduZWQgbG9uZyBwaXhlbCkKIHsKICNpZmRlZiBI QVZFX0dUSzMKLSAgR2RrUkdCQSBiZzsKICA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ZlciwgLTEsIE5VTEwpOwor ICAgICAgZ3RrX3N0eWxlX2NvbnRleHRfYWRkX3Byb3ZpZGVyIChndGtfd2lkZ2V0X2dldF9zdHls ZV9jb250ZXh0KHcpLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBHVEtf U1RZTEVfUFJPVklERVIgKHByb3ZpZGVyKSwKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgR1RLX1NUWUxFX1BST1ZJREVSX1BSSU9SSVRZX0FQUExJQ0FUSU9OKTsKKyAgICAg IGdfb2JqZWN0X3VucmVmIChwcm92aWRlcik7CiAgICAgfQogI2Vsc2UKICAgR2RrQ29sb3IgYmc7 Ci0tIAoyLjE0LjEuNjkwLmdiYjExOTcyOTZlLWdvb2cKCg== --001a113d688cf0187405598d7ec8--