aboutsummaryrefslogtreecommitdiff
path: root/src/slide_window.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2015-06-09 00:07:03 +0200
committerThomas White <taw@bitwiz.org.uk>2015-06-09 00:07:03 +0200
commit5b78853e0bbecd26c43f9cab7c4f61867644f83d (patch)
tree98fe7e2b4a21393a3bbacb886cc36791adc81b0d /src/slide_window.c
parent0ae0bfab5fc1a8c4807123490448babc651f253b (diff)
Frame deletion stuff
Diffstat (limited to 'src/slide_window.c')
-rw-r--r--src/slide_window.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/slide_window.c b/src/slide_window.c
index 9eb9d0d..e0cbab3 100644
--- a/src/slide_window.c
+++ b/src/slide_window.c
@@ -228,19 +228,11 @@ static void save_sig(GSimpleAction *action, GVariant *parameter, gpointer vp)
}
-static void delete_frame_sig(GSimpleAction *action, GVariant *parameter, gpointer vp)
+static void delete_frame_sig(GSimpleAction *action, GVariant *parameter,
+ gpointer vp)
{
-#if 0
SlideWindow *sw = vp;
- int i;
-
- delete_subframe(sw->cur_slide, sw->p->selection);
- p->n_selection = 0;
-
- rerender_slide(p);
- redraw_editor(p);
-#endif
-/* FIXME: implement */
+ sc_editor_delete_selected_frame(sw->sceditor);
}