~ubuntu-branches/ubuntu/maverick/vala/maverick

« back to all changes in this revision

Viewing changes to codegen/valaccodememberaccessmodule.vala

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2010-02-13 17:59:22 UTC
  • mfrom: (7.3.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100213175922-n8bq2xv2q1hihhqb
Tags: 0.7.10-1ubuntu1
* Sync with Debian unstable.
* Remaining changes :
 - debian/rules: Don't make unit test failures fatal to fix FTBFS. It was
   needed if vala need to enter main but it's not the case for now. 
   (See #374151)

Show diffs side-by-side

added added

removed removed

Lines of Context:
275
275
 
276
276
                                // Property access to real struct types is handled differently
277
277
                                // The value is returned by out parameter
278
 
                                if (base_property.property_type.is_real_struct_type ()) {
 
278
                                if (base_property.property_type.is_real_non_null_struct_type ()) {
279
279
                                        var ccomma = new CCodeCommaExpression ();
280
280
                                        var temp_var = get_temp_variable (base_property.get_accessor.value_type);
281
281
                                        var ctemp = get_variable_cexpression (temp_var.name);