[Bug 1862450] Re: g_type_class_add_private() deprecated

Jay 1862450 at bugs.launchpad.net
Mon Feb 10 06:20:11 UTC 2020

Hi Daniel,

I am using unlisted OS : NetBSD 8.1 Release PKGSRC2019Q4 AMD64
Application : Vala-panel-appmenu [ https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/releases ]
bamf version : 0.5.4 
Error : https://pastebin.com/9fUUabGF

Patch i applied :
SUBST_CLASSES+=                 fix-gtype
SUBST_STAGE.fix-gtype=          pre-configure
SUBST_MESSAGE.fix-gtype=        changing G_ADD_PRIVATE instead g_type_class_add_private()
SUBST_FILES.fix-gtype+=         work/*.c
SUBST_SED.fix-gtype+=           -e 's,"g_type_class_add_private(),"G_ADD_PRIVATE(),g'
but G_ADD_PRIVATE(x) takes only one argument and older g_type_class_add_private(x,y) took two ones.


You received this bug notification because you are a member of Unity
Team, which is subscribed to BAMF.

  g_type_class_add_private() deprecated

To manage notifications about this bug go to:

More information about the Ubuntu-reviews mailing list