~ubuntu-branches/ubuntu/saucy/glib2.0/saucy-proposed

« back to all changes in this revision

Viewing changes to gobject/tests/properties.c

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2013-08-21 10:08:49 UTC
  • mfrom: (1.63.24)
  • Revision ID: package-import@ubuntu.com-20130821100849-enhti9o2tk0iug5r
Tags: 2.37.6-1ubuntu1
* Resynchronise with Debian, remaining change:
  - Build-Depend on python:any for cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
{
68
68
  g_free (((TestObject *) gobject)->baz);
69
69
 
 
70
  /* When the ref_count of an object is zero it is still
 
71
   * possible to notify the property, but it should do
 
72
   * nothing and silenty quit (bug #705570)
 
73
   */
 
74
  g_object_notify (gobject, "foo");
 
75
  g_object_notify_by_pspec (gobject, properties[PROP_BAR]);
 
76
 
70
77
  G_OBJECT_CLASS (test_object_parent_class)->finalize (gobject);
71
78
}
72
79