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: Fri, 25 Aug 2017 09:28:35 +0000 Message-ID: References: <599D40CB.1090100@gmx.at> <599D80D1.6090508@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="001a113c35245d9a640557909216" X-Trace: blaine.gmane.org 1503653374 23439 195.159.176.226 (25 Aug 2017 09:29:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 Aug 2017 09:29:34 +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 Fri Aug 25 11:29:25 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 1dlAvM-0004rz-MG for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Aug 2017 11:29:08 +0200 Original-Received: from localhost ([::1]:52240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlAvT-0007GX-Fk for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Aug 2017 05:29:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlAvL-0007GS-Uw for bug-gnu-emacs@gnu.org; Fri, 25 Aug 2017 05:29:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlAvG-0007YZ-NJ for bug-gnu-emacs@gnu.org; Fri, 25 Aug 2017 05:29:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44911) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dlAvG-0007YQ-GJ for bug-gnu-emacs@gnu.org; Fri, 25 Aug 2017 05:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dlAvG-00021f-84 for bug-gnu-emacs@gnu.org; Fri, 25 Aug 2017 05:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Aug 2017 09:29:02 +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.15036533357772 (code B ref 28189); Fri, 25 Aug 2017 09:29:02 +0000 Original-Received: (at 28189) by debbugs.gnu.org; 25 Aug 2017 09:28:55 +0000 Original-Received: from localhost ([127.0.0.1]:53592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlAv7-00021G-Pq for submit@debbugs.gnu.org; Fri, 25 Aug 2017 05:28:54 -0400 Original-Received: from mail-oi0-f49.google.com ([209.85.218.49]:33863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlAv5-000210-RO for 28189@debbugs.gnu.org; Fri, 25 Aug 2017 05:28:52 -0400 Original-Received: by mail-oi0-f49.google.com with SMTP id j144so16309211oib.1 for <28189@debbugs.gnu.org>; Fri, 25 Aug 2017 02:28:51 -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=u9FaK+DJNkLu9p2hx91CqwIX6l87aLcyrZziQWbRuN4=; b=WJsk/DfaxTb61FTdyXrFO90/vhqS+EDqMN2or5hc7XJ25rjq9wEdHXhLut34tVmSDw sjD66tj71zYydFPUClq8+HzDn8VSpOZbJyY6+ZdRuPd6nANKuf1VCeefrC9Sr4+Z+ZCz YNO1akLTWo2N8sowUNdVuzlOAucS2tBPfKLPG94GhC89pzFWzrqCeAzfXeN+rP3gJCGb P6uoN1hj5oHRoBuQATUPqJHazn5ZqZfDBl9Xqvi63sgCBdkqxCKzV+Xz9s2jVVOE0mVr ctbf3xWaPZjWhugSzQ6s1h/lrn631P4ya7jOHSEq6aEFokq1Ihlnl7VIZc/LaxtP3/c8 O+aA== 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=u9FaK+DJNkLu9p2hx91CqwIX6l87aLcyrZziQWbRuN4=; b=j62DYo0ukbwQwCH7Z46NVLkOcqruaw8w+3IGpXof2aLwlC/hQtVyyYWROTwb7Y6Ngr TqDeXqxdoN/MrxFRHbf6Xf1kPgiwI/RapYANjuiPeczI7nmPoFEQYjWQCbL2Z/reChzk 6vrp0SxNsJjU2Qgm9CW3NgUmhu+eXvjMUERUATRDfJI1im/wOVKOVB7cTgUnsFueP45V 8Gkj1l3QVhvrCZ+CeS8vJn7MCfgsU3vJ0m7qo4Zkqp+Wow+ii/dfsZQxQgnkMsEJSfk0 NNepd09Y2cW7P87y5VyEntiBJL0Zqm/YbZXhNurN7xyyJUHve31enIw4y2xOh/wyvT/S MSIw== X-Gm-Message-State: AHYfb5izi7jKF0Py878AxmVMpAXk67apxx1VvoaUAWJOCdI0wun/BBvW KUaC9TPiYWwEYjR03v+aRVgPVTqUlA== X-Received: by 10.202.171.130 with SMTP id u124mr13091218oie.272.1503653326047; Fri, 25 Aug 2017 02:28:46 -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:136188 Archived-At: --001a113c35245d9a640557909216 Content-Type: multipart/alternative; boundary="001a113c35245d9a610557909214" --001a113c35245d9a610557909214 Content-Type: text/plain; charset="UTF-8" Philipp Stephani schrieb am Do., 24. Aug. 2017 um 01:26 Uhr: > > I've attached the compilation log including all GTK-related error messages. > I've attached a patch that fixes all deprecation warnings. It's not intended to be installed as-is, more as a baseline for discussion. Some of the functions have straightforward replacements, others are harder to replace, yet others have vanished altogether. --001a113c35245d9a610557909214 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Philip= p Stephani <p.stephani2@gmail.c= om> schrieb am Do., 24. Aug. 2017 um 01:26=C2=A0Uhr:

I've attached the compilation log including all GTK-related erro= r messages.

I've atta= ched a patch that fixes all deprecation warnings. It's not intended to = be installed as-is, more as a baseline for discussion. Some of the function= s have straightforward replacements, others are harder to replace, yet othe= rs have vanished altogether.=C2=A0
--001a113c35245d9a610557909214-- --001a113c35245d9a640557909216 Content-Type: text/plain; charset="UTF-8"; name="0001-Fix-all-GDK-GTK-warnings.txt" Content-Disposition: attachment; filename="0001-Fix-all-GDK-GTK-warnings.txt" Content-Transfer-Encoding: base64 Content-ID: <15e18b8ac96f8d513771> X-Attachment-Id: 15e18b8ac96f8d513771 RnJvbSA3MTg3NDc4NGRkZDY1NGRhZTI0ZDZmY2U5MzAzODMyYzJlZTE3ZGEyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXBwIFN0ZXBoYW5pIDxwaHN0QGdvb2dsZS5jb20+CkRh dGU6IEZyaSwgMjUgQXVnIDIwMTcgMTE6MDg6MjUgKzAyMDAKU3ViamVjdDogW1B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2ZW50Ym94KSwgd2Ip OwpAQCAtNTIyOSw2ICs1MjYzLDEyIEBAIHhnX2luaXRpYWxpemUgKHZvaWQpCiAKICAgc2V0dGlu Z3MgPSBndGtfc2V0dGluZ3NfZ2V0X2Zvcl9zY3JlZW4gKGdka19kaXNwbGF5X2dldF9kZWZhdWx0 X3NjcmVlbgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGdka19k aXNwbGF5X2dldF9kZWZhdWx0ICgpKSk7CisjaWYgR1RLX0NIRUNLX1ZFUlNJT04gKDMsIDE2LCAw KQorICBnX29iamVjdF9zZXQgKHNldHRpbmdzLAorICAgICAgICAgICAgICAgICJndGstbWVudS1i YXItYWNjZWwiLCBFTUFDU19DTEFTUywKKyAgICAgICAgICAgICAgICAiZ3RrLWtleS10aGVtZS1u YW1lIiwgIkVtYWNzIiwKKyAgICAgICAgICAgICAgICBOVUxMKTsKKyNlbHNlCiAgIC8qIFJlbW92 ZSBGMTAgYXMgYSBtZW51IGFjY2VsZXJhdG9yLCBpdCBkb2VzIG5vdCBtaXggd2VsbCB3aXRoIEVt YWNzIGtleQogICAgICBiaW5kaW5ncy4gIEl0IGRvZXNuJ3Qgc2VlbSB0byBiZSBhbnkgd2F5IHRv IHJlbW92ZSBwcm9wZXJ0aWVzLAogICAgICBzbyB3ZSBzZXQgaXQgdG8gIiIgd2hpY2ggaW4gbWVh bnMgIm5vIGtleSIuICAqLwpAQCAtNTI0Myw2ICs1MjgzLDcgQEAgeGdfaW5pdGlhbGl6ZSAodm9p ZCkKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJndGsta2V5LXRoZW1lLW5h bWUiLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIkVtYWNzIiwKICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEVNQUNTX0NMQVNTKTsKKyNlbmRpZgogCiAg IC8qIE1ha2UgZGlhbG9ncyBjbG9zZSBvbiBDLWc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CBjcmVhdGVfYW5kX3Nob3dfcG9w dXBfbWVudSAoc3RydWN0IGZyYW1lICpmLCB3aWRnZXRfdmFsdWUgKmZpcnN0X3d2LAogCiAgIGlm ICh1c2VfcG9zX2Z1bmMpCiAgICAgewotICAgICAgV2luZG93IGR1bW15X3dpbmRvdzsKLQorI2lm ICEgR1RLX0NIRUNLX1ZFUlNJT04gKDMsIDIyLCAwKQogICAgICAgLyogTm90IGludm9rZWQgYnkg YSBjbGljay4gIHBvcCB1cCBhdCB4L3kuICAqLwogICAgICAgcG9zX2Z1bmMgPSBtZW51X3Bvc2l0 aW9uX2Z1bmM7CisjZW5kaWYKIAotICAgICAgLyogQWRqdXN0IGNvb3JkaW5hdGVzIHRvIGJlIHJv b3Qtd2luZG93LXJlbGF0aXZlLiAgKi8KKyAgICAgIC8qIEFkanVzdCBjb29yZGluYXRlcyB0byBi ZSByb290LXdpbmRvdy1yZWxhdGl2ZSwgYnV0IG5vdCBmb3IKKyAgICAgICAqIEdUSysgMy4yMiwg d2hlcmUgdGhlIG1lbnUgcG9zaXRpb24gaXMgZnJhbWUtcmVsYXRpdmUuICAqLwogICAgICAgYmxv Y2tfaW5wdXQgKCk7CisjaWYgISBHVEtfQ0hFQ0tfVkVSU0lPTiAoMywgMjIsIDApCisgICAgICBX aW5kb3cgZHVtbXlfd2luZG93OwogICAgICAgWFRyYW5zbGF0ZUNvb3JkaW5hdGVzIChGUkFNRV9Y X0RJU1BMQVkgKGYpLAogCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8qIEZyb20td2lu ZG93LCB0by13aW5kb3cuICAqLwpAQCAtMTI3MSwxNSArMTI3OCwxOCBAQCBjcmVhdGVfYW5kX3No b3dfcG9wdXBfbWVudSAoc3RydWN0IGZyYW1lICpmLCB3aWRnZXRfdmFsdWUgKmZpcnN0X3d2LAog CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8qIENoaWxkIG9mIHdpbi4gICovCiAgICAg ICAgICAgICAgICAgICAgIC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KHdpbmRvdyk7Cisg IEdka0V2ZW50ICpldmVudCA9IGdka19ldmVudF9uZXcgKEdES19CVVRUT05fUFJFU1MpOworICBl dmVudC0+YnV0dG9uLndpbmRvdyA9IHdpbmRvdzsKKyAgZXZlbnQtPmJ1dHRvbi50aW1lID0gRlJB TUVfRElTUExBWV9JTkZPIChmKS0+bGFzdF91c2VyX3RpbWU7CisgIGV2ZW50LT5idXR0b24uYnV0 dG9uID0gaTsKKyAgZXZlbnQtPmJ1dHRvbi5kZXZpY2UKKyAgICA9IGdka19zZWF0X2dldF9wb2lu dGVyIChnZGtfZGlzcGxheV9nZXRfZGVmYXVsdF9zZWF0IChkaXNwbGF5KSk7CisgIGlmIChmb3Jf Y2xpY2spCisgICAgZ3RrX21lbnVfcG9wdXBfYXRfcG9pbnRlciAoR1RLX01FTlUgKG1lbnUpLCBl dmVudCk7CisgIGVsc2UKKyAgICB7CisgICAgICBHdGtSZXF1aXNpdGlvbiByZXE7CisgICAgICBn dGtfd2lkZ2V0X2dldF9wcmVmZXJyZWRfc2l6ZSAobWVudSwgTlVMTCwgJnJlcSk7CisgICAgICBH ZGtSZWN0YW5nbGUgcmVjdCA9IHsKKyAgICAgICAgLnggPSB4LAorICAgICAgICAueSA9IHksCisg ICAgICAgIC53aWR0aCA9IHJlcS53aWR0aCwKKyAgICAgICAgLmhlaWdodCA9IHJlcS5oZWlnaHQs CisgICAgICB9OworICAgICAgLyogRklYTUU6IENoZWNrIHdoZXRoZXIgdGhlIGFkanVzdG1lbnRz IGluIG1lbnVfcG9zaXRpb25fZnVuYworICAgICAgICogYXJlIHN0aWxsIG5lZWRlZC4gICovCisg ICAgICBndGtfbWVudV9wb3B1cF9hdF9yZWN0IChHVEtfTUVOVSAobWVudSksIHdpbmRvdywgJnJl Y3QsCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBHREtfR1JBVklUWV9OT1JUSF9XRVNU LCBHREtfR1JBVklUWV9OT1JUSF9XRVNULAorICAgICAgICAgICAgICAgIC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