2011/11/14 Glus Xof <[email protected]>: > Hi guys, > > I'm working with the gtkmm git master updated and I write you for two > questions (probably not related at all and already known). > > The first one is that the compile process throws these warnings... > > --- > In file included from [/path/to/libs]/include/glibmm-2.4/glibmm.h:87:0, > from [/path/to/libs]/include/gtkmm-3.0/gtkmm.h:87, > from my_app.h:8, > from main.cc:16: > [/path/to/libs]/include/glibmm-2.4/glibmm/thread.h: In member function > ‘T* Glib::StaticPrivate<T>::get()’: > [/path/to/libs]/include/glibmm-2.4/glibmm/thread.h:1041:26: warning: > ‘void* g_static_private_get(GStaticPrivate*)’ is deprecated (declared > at [/path/to/libs]/include/glib-2.0/glib/deprecated/gthread.h:245): > Use 'g_private_get' instead [-Wdeprecated-declarations] > [/path/to/libs]/include/glibmm-2.4/glibmm/thread.h: In member function > ‘void Glib::StaticPrivate<T>::set(T*, > Glib::StaticPrivate<T>::DestroyNotifyFunc)’: > [/path/to/libs]/include/glibmm-2.4/glibmm/thread.h:1047:3: warning: > ‘void g_static_private_set(GStaticPrivate*, gpointer, GDestroyNotify)’ > is deprecated (declared at > [/path/to/libs]/include/glib-2.0/glib/deprecated/gthread.h:248): Use > 'g_private_set' instead [-Wdeprecated-declarations] > [/path/to/libs]/include/glibmm-2.4/glibmm/thread.h: In constructor > ‘Glib::Private<T>::Private(Glib::Private<T>::DestructorFunc)’: > [/path/to/libs]/include/glibmm-2.4/glibmm/thread.h:1063:13: warning: > ‘GPrivate* g_private_new(GDestroyNotify)’ is deprecated (declared at > [/path/to/libs]/include/glib-2.0/glib/deprecated/gthread.h:231) > [-Wdeprecated-declarations] > mv -f .deps/main.Tpo .deps/main.Po > ----
These are warnings about some stuff that got deprecated recently in Glib, namely: dynamic creation of GPrivate. > > And the second one is that at run-time, my app throws the message: > Gtk-Message: Failed to load module "pk-gtk-module" ... > This is about some packagekit module not being found. Ignore it. > > Glus > _______________________________________________ > gtkmm-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkmm-list > _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
