From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#25851: 25.2; GTK warning when starting Emacs when desktop file has more than one frame Date: Mon, 27 Feb 2017 13:26:43 -0500 Message-ID: <874lzfwkv0.fsf@moondust.localdomain> References: <87a89c51qb.fsf@moondust.localdomain> <831suoub86.fsf@gnu.org> <87lgswmi6a.fsf@moondust.localdomain> <83vas0rozb.fsf@gnu.org> <87k28fso3o.fsf@moondust.localdomain> <83o9xrsmrd.fsf@gnu.org> <874lzjsh8t.fsf@moondust.localdomain> <87y3wvqqos.fsf@moondust.localdomain> <83fuj2smzr.fsf@gnu.org> <87wpccmv71.fsf@moondust.localdomain> <87d1e4mq48.fsf@moondust.localdomain> <83innvppz4.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488222170 3195 195.159.176.226 (27 Feb 2017 19:02:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2017 19:02:50 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 25851@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 27 20:02:44 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 1ciQZC-0007tq-Ec for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2017 20:02:38 +0100 Original-Received: from localhost ([::1]:55826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciQZG-00005A-02 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2017 14:02:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciQ0n-0004fi-LZ for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 13:27:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciQ0k-0000J5-Hp for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 13:27:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciQ0k-0000Iz-EB for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 13:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ciQ0k-0004vo-8x for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2017 13:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2017 18:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25851 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25851-submit@debbugs.gnu.org id=B25851.148822001218941 (code B ref 25851); Mon, 27 Feb 2017 18:27:02 +0000 Original-Received: (at 25851) by debbugs.gnu.org; 27 Feb 2017 18:26:52 +0000 Original-Received: from localhost ([127.0.0.1]:58643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciQ0a-0004vQ-7z for submit@debbugs.gnu.org; Mon, 27 Feb 2017 13:26:52 -0500 Original-Received: from mail-io0-f195.google.com ([209.85.223.195]:33738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciQ0Z-0004vA-7W for 25851@debbugs.gnu.org; Mon, 27 Feb 2017 13:26:51 -0500 Original-Received: by mail-io0-f195.google.com with SMTP id f84so4714413ioj.0 for <25851@debbugs.gnu.org>; Mon, 27 Feb 2017 10:26:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=b7GFj693WVp/CL5E2T65q+vKPoezCUmIDMTES8prZHY=; b=JdRH8IwL31VhQB7VcSXqjdJ/HtVtl7sXTwiTnONK3gSBdyU6pVOGAbKIvzOpWKVSnI ANWQhnE0ts5yUt7uQBU+jqUE/bAfmh0f5VMFTrF/N8bevvkOD/Hssv6v5eEX7HAHRBzx brnj/9B4iWjaoiQqBkCq9TFwfwlbU6+BNc9rGrKLrUpCf2Wq1inqd8o63Ggzlz3CMZ0y amSVjsh5KxmlM6cPKbZbj2KCq+hiifMvlZhflYsDEe1r+doPcZ2aMGmoyOUSaTOX8k6w b8kKAMdDyc92hCAm0xKpizXfkkyH57g7gYbrvOKod6Ogl1RBZi8/cDUwfhpWy0BN5iLu a3Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=b7GFj693WVp/CL5E2T65q+vKPoezCUmIDMTES8prZHY=; b=lNDj30RAKs/YpUwbBAUk9OyA7K1wpvgF4HbfCbHIxazjVxPJUHx/PXDXrZaFcbxLSX RryciMpiUjRpDxym8ZDqlBvv844fjzP25AHpKwq4DU1ykLD32u0+gRdVu2Y7B7Y5AxFc QgXVOcE9U+lfc0Qgh5oVvJ/bbHUjtKb838FvmlJ2zpjzmVQePRKGc7B4Qdfzx/cilN/W yb1hrnPaoxI6aHrGFIJKikwnxLByAEQeEkFQp9B2rXcmUSuaOc6TtpRZmqKzbojtE4KP D3/xLls+N1vzQylv64lZaJq/oXtOw4NulxKazRopzy5k6cr7qIbTTxocwcaKYch6NGAp S9iQ== X-Gm-Message-State: AMke39nNcUSYGqxuNkWCncgAnY2gsKN1KCr+oFi4AfjM/61bKUKMyFJK4SexLv3Efs3brg== X-Received: by 10.107.149.194 with SMTP id x185mr647653iod.167.1488220005692; Mon, 27 Feb 2017 10:26:45 -0800 (PST) Original-Received: from moondust.localdomain.nodomain.none ([72.143.113.194]) by smtp.gmail.com with ESMTPSA id l19sm6978937ioe.51.2017.02.27.10.26.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Feb 2017 10:26:45 -0800 (PST) In-Reply-To: <83innvppz4.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Feb 2017 18:18:07 +0200") 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:129895 Archived-At: At 18:18 +0200 on Monday 2017-02-27, Eli Zaretskii wrote: >> From: nljlistbox2@gmail.com (N. Jackson) >> Cc: 25851@debbugs.gnu.org >> Date: Sun, 26 Feb 2017 19:31:03 -0500 >> >> [1] https://developer.gnome.org/glib/stable/glib-Message-Logging.html >> >> It says (amongst other things): >> >> - "To use structured logging (rather than the old-style logging), >> either use the g_log_structured() and g_log_structured_array() >> functions; or define G_LOG_USE_STRUCTURED before including any >> GLib header..." >> >> - "[g_log_set_handler()] has no effect if structured logging is >> enabled" > > Unless Martin will be able to resolve the issue "properly", I guess > the only way of shutting up the warning is to use > g_log_set_writer_func to temporarily set the glib log writer function > to a dummy one that does nothing, then restore the original writer > function. That's gross, but what else can be done when you deal with > libraries which think they are smarter than you are?.. > > Thanks. [I'm sure your question is rhetorical, but if it weren't, at one time I would have said the what could be done is to leave the world of paternalistic proprietary software and use Free software instead! Sadly, the paternalistic-proprietary-software thinking has infected Free software and we increasingly see libraries and tools that do what they think the user should want them to do, rather than flexibly doing what the user asks them to do.] But that does raise the possibly naive question: Rather that trying to cover up the warning, can we not just do what the library wants; is it impossible for us to call "gtk_widget_show_all() on the contents and gtk_window_set_geometry_hints() on the window" before calling gtk_window_parse_geometry()? N.