gnome-globalmenu/gnome-globalmenu — pull request #3 by freexploit (2012-08-19 03:53:00+00:00)
Title: Changes in manager.vala for problems compiling

i was getting this error when compiling:

manager.vala:9.2-9.36: error: field type `GLib.Datalist` is less accessible than field `KnownBusName.known_objects`
public Datalist known_objects;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
manager.vala:32.5-32.28: error: The name `set_data' does not exist in the context of `KnownBusName.known_objects'
k.known_objects.set_data(object_path, menu);
^^^^^^^^^^^^^^^^^^^^^^^^
manager.vala:89.5-89.43: error: The name `foreach' does not exist in the context of `KnownBusName.known_objects'
((KnownBusName)k).known_objects.foreach((key_id, menu) => {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
manager.vala:69.5-69.43: error: The name `foreach' does not exist in the context of `KnownBusName.known_objects'
((KnownBusName)k).known_objects.foreach((object_id, menu) => {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 4 error(s), 0 warning(s)
make[3]: *** [gnome_globalmenu_manager_vala.stamp] Error 1
make[3]: Leaving directory `/home/kadosh/source/gnome-globalmenu-git/src/gnome-globalmenu-build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/kadosh/source/gnome-globalmenu-git/src/gnome-globalmenu-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kadosh/source/gnome-globalmenu-git/src/gnome-globalmenu-build'
make: *** [all] Error 2

the change let me compile the code