~desrt/libvalmynd/master

« back to all changes in this revision

Viewing changes to valmynd/menumodel.vala

  • Committer: Ryan Lortie
  • Date: 2011-04-28 20:04:43 UTC
  • Revision ID: git-v1:afb50b527339349120f0a8f080ef0769b4411fbb
Remove virtual_ hackery

We no longer appear to be satisfying the strange combination of
circumstances required to trigger the bug, so stop working around it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
                 *
105
105
                 * See the Valmynd introductory documentation for a conceptual overview.
106
106
                 **/
107
 
                protected abstract Variant? virtual_get_item_attribute (int index, string name, VariantType? expected_type);
 
107
                public abstract Variant? get_item_attribute_value (int index, string name, VariantType? expected_type = null);
108
108
 
109
109
                /**
110
110
                 * valmynd_model_get_item_link:
236
236
                 *
237
237
                 * Returns: a reference to a #GVariant, or %NULL
238
238
                 **/
239
 
                // TODO: will become virtual when #643711 is fixed
240
 
                public Variant? get_item_attribute_value (int index, string name, VariantType? expected_type = null) {
241
 
                        return virtual_get_item_attribute (index, name, expected_type);
242
 
                }
243
239
 
244
240
                /**
245
241
                 * valmynd_model_get_item_attribute: