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 681671 - Virtual properties in interfaces does not work
Virtual properties in interfaces does not work
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Code Generator: GObject
0.17.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks: 679587
 
 
Reported: 2012-08-12 07:29 UTC by Maciej (Matthew) Piechotka
Modified: 2012-08-13 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Maciej (Matthew) Piechotka 2012-08-12 07:29:47 UTC
Test code: http://git.gnome.org/browse/libgee/commit/?h=move-virtuals-to-interfaces&id=8e9ddec3c6697566286e3ed393f27dccd9a5cd4b

The gee_collection_base_init contains:

                iface->add_all = gee_collection_real_add_all;
                iface->contains_all = gee_collection_real_contains_all;
                iface->remove_all = gee_collection_real_remove_all;
                iface->retain_all = gee_collection_real_retain_all;
                iface->to_array = gee_collection_real_to_array;

without iface->get_is_empty = gee_collection_real_is_empty;
Comment 1 Jürg Billeter 2012-08-13 13:45:57 UTC
commit 9140afc87fef5a6d91ba2ccd771bfe99eb923760
Author: Jürg Billeter <j@bitron.ch>
Date:   Mon Aug 13 15:44:46 2012 +0200

    Support virtual interface properties
    
    Fixes bug 681671.