# HG changeset patch # User Thinker K.F. Li # Date 1294837934 -28800 # Node ID 32a73093a3de45e621414a5c664e1e7040ffa781 # Parent 0daf68f3c1f957edd5d1aea625beab9503252417 Remove unused code - Since frameline is not removed from hbox in _remove_all_framelines(), it is also useless for _remove_frameline(). diff -r 0daf68f3c1f9 -r 32a73093a3de pyink/domview_ui.py --- a/pyink/domview_ui.py Wed Jan 12 21:09:05 2011 +0800 +++ b/pyink/domview_ui.py Wed Jan 12 21:12:14 2011 +0800 @@ -110,7 +110,6 @@ hbox = line.parent vbox.remove(hbox) - hbox.remove(line) del self._framelines[layer_idx] for idx in range(layer_idx, len(self._framelines)): @@ -131,7 +130,6 @@ self._last_mouse_over_frameline = None self._last_active_frameline = None self._active_frame_callback = None - pass def _init_framelines(self):