Comment 19 for bug 1203888

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

I just noticed that libdbusmenu produces the following warning while building:

l /usr/bin/vapigen --library=Dbusmenu-0.4 Dbusmenu-0.4.gir
Dbusmenu-0.4.gir:877.7-877.29: warning: Signal `Dbusmenu.Menuitem.child_added' conflicts with method of the same name
      <virtual-method name="child_added">
      ^^^^^^^^^^^^^^^^^^^^^^^
Dbusmenu-0.4.gir:890.7-890.29: warning: Signal `Dbusmenu.Menuitem.child_moved' conflicts with method of the same name
      <virtual-method name="child_moved">
      ^^^^^^^^^^^^^^^^^^^^^^^
Dbusmenu-0.4.gir:906.7-906.33: warning: Signal `Dbusmenu.Menuitem.child_removed' conflicts with method of the same name
      <virtual-method name="child_removed">
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dbusmenu-0.4.gir:973.7-973.31: warning: Virtual method `Dbusmenu.Menuitem.show_to_user' conflicts with method of the same name
      <virtual-method name="show_to_user">
      ^^^^^^^^^^^^^^^^^^^^^^^^^
Dbusmenu-0.4.gir:973.7-973.31: warning: Signal `Dbusmenu.Menuitem.show_to_user' conflicts with method of the same name
      <virtual-method name="show_to_user">
      ^^^^^^^^^^^^^^^^^^^^^^^^^
Generation succeeded - 5 warning(s)

However, I think this is a red herring because removing menu items works as expected - which means the "child-removed" signal which is also mentioned in the warning is working Ok.