warning: accessibility of struct fields can only be `public`

Bug #1385625 reported by Cem Kocagil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
New
Undecided
Unassigned

Bug Description

OS: Freya beta
Vala version: 0.26

Checkout from bzr. Tried both makefile and ninja builds. Here's the error I get:

--

/home/cube/midori/midori/midori/midori-panedaction.vala:20.13-20.39: warning: accessibility of struct fields can only be `public`
            protected Gtk.Widget widget;
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 0 error(s), 1 warning(s)
make[2]: *** [midori/midori_valac.stamp] Error 1
make[1]: *** [midori/CMakeFiles/midori-core-vala.dir/all] Error 2
make: *** [all] Error 2

--

Relevant code from midori-panedaction.vala:

        private struct Child {
            protected Gtk.Widget widget; <<<<<<<<< HERE
            string name;
            bool resize;
            bool shrink;
        }

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.