bug#5120: 23.1.50; GLib-WARNING **: g_set_prgname() called multiple times

Jan Djärv <[email protected]> Fri, 04 Dec 2009 14:32:34 +0100
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
Jan Djärv skrev:
> 
> 
> Sven Joachim skrev 2009-12-04 09.17:
>> After a recent update of glib to version 2.22.3, a warning is printed on
>> the terminal when Emacs starts:
>>
>> ,----
>> | % ./emacs -q&
>> | [1] 6017
>> |
>> | (emacs:6017): GLib-WARNING **: g_set_prgname() called multiple times
>> `----
>>
>>> From the glib NEWS file:
>>
>> ,----
>> | Overview of Changes from GLib 2.22.2 to GLib 2.22.3
>> | ===================================================
>> |
>> | * Bugs fixed:
>> |  [...]
>> |  563627 g_get_prgname() threadsafety
>> `----
>>
>> The URL to the glib g_get_prgname bug is
>> https://bugzilla.gnome.org/show_bug.cgi?id=563627.
>>
> 
> The latest comments (made today) in that bug says that the change should 
> be reverted.  Lets wait and see what happens before we change Emacs.
> 

Besides, there is nothing we can do.  We just call gtk_init.  It is inside 
that function somewhere the warning gets produced.  The obviously didn't test 
that patch at all.

	Jan D.