コード例 #1
0
ファイル: lifeline.c プロジェクト: UIKit0/dia
static void
lifeline_destroy(Lifeline *lifeline)
{
  connpointline_destroy(lifeline->southeast);
  connpointline_destroy(lifeline->northwest);
  connpointline_destroy(lifeline->northeast);
  connpointline_destroy(lifeline->southwest);
  connection_destroy(&lifeline->connection);
}
コード例 #2
0
ファイル: other.c プロジェクト: UIKit0/dia
static void
other_destroy(Other *other)
{
  text_destroy(other->text);

  connpointline_destroy(other->east);
  connpointline_destroy(other->south);
  connpointline_destroy(other->west);
  connpointline_destroy(other->north);

  element_destroy(&other->element);
}
コード例 #3
0
ファイル: chronoref.c プロジェクト: UIKit0/dia
static void
chronoref_destroy(Chronoref *chronoref)
{
  dia_font_unref(chronoref->font);
  connpointline_destroy(chronoref->scale);
  element_destroy(&chronoref->element);
}
コード例 #4
0
ファイル: line.c プロジェクト: mpuels/dia
static void
line_destroy(Line *line)
{
  connpointline_destroy(line->cpl);
  connection_destroy(&line->connection);
}