After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 593467 - Unable to Inherit Gtk.ListStore
Unable to Inherit Gtk.ListStore
Status: RESOLVED DUPLICATE of bug 581362
Product: vala
Classification: Core
Component: Objects
0.7.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-29 05:10 UTC by Simon Chan
Modified: 2010-03-20 14:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Simon Chan 2009-08-29 05:10:38 UTC
When compiling the code below, it's complaining the following:
undefined reference to `gtk_list_store_construct_newv'

class CustListStore : Gtk.ListStore {

    public CustListStore(Type[] types) {
        base.newv(types);
    }

}

There is an entry in the vapi, but it can't seem to find it.

[CCode (cname = "gtk_list_store_newv", has_construct_function = false)]
        public ListStore.newv ([CCode (array_length_pos = 0.9)] GLib.Type[] types);
Comment 1 Jürg Billeter 2010-03-20 14:51:38 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

*** This bug has been marked as a duplicate of bug 581362 ***