You should switch

g_assert(menu != NULL);

to

if (menu != NULL) { }

where the {} surround the menu add/remove statements because not all
windows will have a menu.  g_assert is used to detect programming
mistakes so it is inappropriate here.

In the vocabularywindow.ui in version 3.2.x, "menubar1" should be
changed to "menubar".  So you would best patch that file too.

While this is a good temporary fix, I can't add this code to upstream
because it is a bit hackish.  I'm going to look for a better way in
3.4.x or 3.5.x.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/971240

Title:
  Won't load in 12.04 (beta 2)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gwaei/+bug/971240/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to