Logo Search packages:      
Sourcecode: ardour version File versions

gint TimeAxisViewItem::idle_remove_this_item ( TimeAxisViewItem item,
void *  src 
) [static, protected]

Callback used to remove this item during the gtk idle loop This is used to avoid deleting the obejct while inside the remove_this_group method

Parameters:
item the time axis item to remove
src the identity of the object that initiated the change
Callback used to remove this time axis item during the gtk idle loop This is used to avoid deleting the obejct while inside the remove_this_item method

Parameters:
item the TimeAxisViewItem to remove
src the identity of the object that initiated the change

Definition at line 1039 of file time_axis_view_item.cc.

References get_item_name(), and ItemRemoved.

Referenced by remove_this_item().

{
      item->ItemRemoved (item->get_item_name(), src) ; /* EMIT_SIGNAL */
      delete item;
      item = 0;
      return false;
}


Generated by  Doxygen 1.6.0   Back to index