Re: gdk threads ...



On Wed, 2012-04-11 at 11:28 -0400, Paul Davis wrote:
> On Wed, Apr 11, 2012 at 7:26 AM, Paul Davis <paul linuxaudiosystems com> wrote:
> > Are there any plans for a gtkmm release based on gtk2 that will avoid
> > the endless messages about using deprecated API, some related to
> > thread stuff in gtk 2.24?
> 
> these, specifically, are the messages i'm referring to:
> 
> /Users/paul/a3/inst/include/glibmm-2.4/glibmm/thread.h: In function
> 'void Glib::thread_init(GThreadFunctions*)':
> /Users/paul/a3/inst/include/glibmm-2.4/glibmm/thread.h:786: warning:
> 'g_thread_init' is deprecated (declared at
> /Users/paul/gtk/inst/include/glib-2.0/glib/deprecated/gthread.h:259)
> /Users/paul/a3/inst/include/glibmm-2.4/glibmm/thread.h:786: warning:
> 'g_thread_init' is deprecated (declared at
> /Users/paul/gtk/inst/include/glib-2.0/glib/deprecated/gthread.h:259)
> /Users/paul/a3/inst/include/glibmm-2.4/glibmm/thread.h: In member
> function 'T* Glib::StaticPrivate<T>::get()':
> /Users/paul/a3/inst/include/glibmm-2.4/glibmm/thread.h:1050: warning:
> 'g_static_private_get' is deprecated (declared at
> /Users/paul/gtk/inst/include/glib-2.0/glib/deprecated/gthread.h:245)
> /Users/paul/a3/inst/include/glibmm-2.4/glibmm/thread.h: In member
> function 'void Glib::StaticPrivate<T>::set(T*, void (*)(void*))':
> /Users/paul/a3/inst/include/glibmm-2.4/glibmm/thread.h:1056: warning:
> 'g_static_private_set' is deprecated (declared at
> /Users/paul/gtk/inst/include/glib-2.0/glib/deprecated/gthread.h:250)
> /Users/paul/a3/inst/include/glibmm-2.4/glibmm/thread.h: In constructor
> 'Glib::Private<T>::Private(void (*)(void*))':
> /Users/paul/a3/inst/include/glibmm-2.4/glibmm/thread.h:1072: warning:
> 'g_private_new' is deprecated (declared at
> /Users/paul/gtk/inst/include/glib-2.0/glib/deprecated/gthread.h:231)

I would prefer to have this discussion on the gtkmm-list or in bugzilla.

Anyway, these look like a problem in glibmm, fixed in more recent glibmm
versions, rather than in gtkmm. I would consider a patch for gtkmm 2.4,
if there is something that helps.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com



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