[Freeciv-Dev] [bug #23390] freeciv-mp-gtk2 uses deprecated g_thread_init/g_thread_create

2015-03-14 Thread Jacob Nevins
Follow-up Comment #1, bug #23390 (project freeciv):

(This is on Ubuntu 14.04.)

___

Reply to this item at:

  http://gna.org/bugs/?23390

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #23390] freeciv-mp-gtk2 uses deprecated g_thread_init/g_thread_create

2015-03-14 Thread Jacob Nevins
URL:
  http://gna.org/bugs/?23390

 Summary: freeciv-mp-gtk2 uses deprecated
g_thread_init/g_thread_create
 Project: Freeciv
Submitted by: jtn
Submitted on: Sat 14 Mar 2015 20:04:55 UTC
Category: module installer
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.5.0
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

While building 2.5.0 without --enable-debug I noticed the following warnings
going by for freeciv-mp-gtk2:


  CC   freeciv_mp_gtk2-mpgui_gtk2.o
mpgui_gtk2.c: In function ‘gui_download_modpack’:
mpgui_gtk2.c:300:3: warning: ‘g_thread_create’ is deprecated (declared at
/usr/include/glib-2.0/glib/deprecated/gthread.h:100): Use 'g_thread_new'
instead [-Wdeprecated-declarations]
   downloader = g_thread_create(download_thread, URLbuf, FALSE, NULL);
   ^
mpgui_gtk2.c: In function ‘main’:
mpgui_gtk2.c:566:3: warning: ‘g_thread_init’ is deprecated (declared at
/usr/include/glib-2.0/glib/deprecated/gthread.h:261)
[-Wdeprecated-declarations]
   g_thread_init(NULL);
   ^


Haven't checked other branches / flavours.




___

Reply to this item at:

  http://gna.org/bugs/?23390

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #23390] freeciv-mp-gtk2 uses deprecated g_thread_init/g_thread_create

2015-03-14 Thread Marko Lindqvist
Follow-up Comment #2, bug #23390 (project freeciv):

 I noticed the following warnings going by for freeciv-mp-gtk2

This was essentially what inspired to create cleanly separate source for
freeciv-mp-gtk3, to not have any gtk2 burden.
We support gtk2 builds with older glib than the one where g_thread_new() was
introduced and deprecated g_thread_create().

 Haven't checked other branches / flavours.

All branches since modpack installer was first introduced affected

___

Reply to this item at:

  http://gna.org/bugs/?23390

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev