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.
I just noticed that libdbusmenu produces the following warning while building:
l /usr/bin/vapigen --library= Dbusmenu- 0.4 Dbusmenu-0.4.gir 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"> ^^^^^^^ ^^^^^^^ ^^^^^^^ ^ 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"> ^^^^^^^ ^^^^^^^ ^^^^^^^ ^ 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" > ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ 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" > ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^ 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" > ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^
Dbusmenu-
<
^
Dbusmenu-
<
^
Dbusmenu-
<
^
Dbusmenu-
<
^
Dbusmenu-
<
^
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.