bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25851: 25.2; GTK warning when starting Emacs when desktop file has m


From: Eli Zaretskii
Subject: bug#25851: 25.2; GTK warning when starting Emacs when desktop file has more than one frame
Date: Mon, 27 Feb 2017 18:18:07 +0200

> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]