~ubuntu-branches/ubuntu/trusty/goocanvas/trusty-proposed

« back to all changes in this revision

Viewing changes to src/goocanvasellipse.c

  • Committer: Bazaar Package Importer
  • Author(s): Jose Carlos Garcia Sogo
  • Date: 2007-05-14 22:49:11 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070514224911-vyv39khpicv46oe2
Tags: 0.8-2
Link gtk-doc to /usr/share/doc/libgoocanvas-dev (Closes: #423410)

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
  GooCanvasItemSimple *simple = (GooCanvasItemSimple*) object;
194
194
  GooCanvasEllipse *ellipse = (GooCanvasEllipse*) object;
195
195
 
196
 
  if (!simple->model)
 
196
  /* Free our data if we didn't have a model. (If we had a model it would
 
197
     have been reset in dispose() and simple_data will be NULL.) */
 
198
  if (simple->simple_data)
197
199
    g_slice_free (GooCanvasEllipseData, ellipse->ellipse_data);
198
200
  ellipse->ellipse_data = NULL;
199
201