Feedback on gnome-devel-demos/3.22/magic-mirror.vala.page



Hi!

I have been examining the tutorials in order to build a small app. I
copy-pasted the code and tried to compile vala examples from
gnome-devel-demos/3.22/magic-mirror.vala.page and run into the following
error both on simple and extended examples.

$ valac --pkg gtk+-2.0 --pkg gdk-x11-2.0 --pkg gstreamer-0.10 --pkg
gstreamer-interfaces-0.10 mirror.vala
mirror.vala:5.21-5.26: error: `Object' is an ambiguous reference between
`GLib.Object' and `Gtk.Object'
public class Main : Object
                    ^^^^^^
Compilation failed: 1 error(s), 0 warning(s)

Is it a bug or I am doing something wrong?

-- 
Мухачёв Пётр

научный сотрудник
Московский физико-технический институт

тел. +7-968-88-55-987
mukhachev phystech edu


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]