The warning is raised for the following chunk of code in lib/unity-gtk-
action-group.c:1030:

/**
 * unity_gtk_action_group_disconnect_shell:
 * @group: a #UnityGtkActionGroup.
 * @shell: a #UnityGtkMenuShell.
 *
 * Removes the actions for @shell from @group.
 */
void
unity_gtk_action_group_disconnect_shell (UnityGtkActionGroup *group,
                                         UnityGtkMenuShell   *shell)
{
  UnityGtkActionGroup *action_group;
  GSequence *visible_indices;

  g_return_if_fail (UNITY_GTK_IS_ACTION_GROUP (group));
  g_return_if_fail (UNITY_GTK_IS_MENU_SHELL (shell));
  g_warn_if_fail (shell->action_group == group);

  visible_indices = shell->visible_indices;

----

Specifically the line:

  g_warn_if_fail (shell->action_group == group);

I think that could be raised by handling the data like { "(null)" },
parent) in unity_gtk_menu_shell_handle_item_notify. Because the data is
null, but I am still digging in the source code

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

Title:
  unity_gtk_action_group_disconnect_shell: runtime check failed:
  (shell->action_group == group)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-gtk-module/+bug/1198471/+subscriptions

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

Reply via email to