[gnome-globalmenu] Changes in manager.vala for problems compiling (#3)

14 views
Skip to first unread message

freexploit

unread,
Aug 18, 2012, 11:53:02 PM8/18/12
to gnome-globalmenu/gnome-globalmenu

i was getting this error when compiling:

manager.vala:9.2-9.36: error: field type GLib.Datalist<Menu> 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 ofKnownBusName.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 ofKnownBusName.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 ofKnownBusName.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


You can merge this Pull Request by running:

  git pull https://github.com/freexploit/gnome-globalmenu gnome-3

Or view, comment on, or merge it at:

  https://github.com/gnome-globalmenu/gnome-globalmenu/pull/3

Commit Summary

  • Changes in manager.vala for problems compiling

File Changes

  • M src/manager.vala (14)

Patch Links


Reply to this email directly or view it on GitHub.

Reply all
Reply to author
Forward
0 new messages