diff options
author | Thomas White <taw@bitwiz.me.uk> | 2019-04-14 18:31:19 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2019-04-14 18:31:19 +0200 |
commit | 3b7e9356d56c7e632af931e161085e12bb1955d8 (patch) | |
tree | e94a072048a4a9773eb15b747ae8d13f83a25a79 /src | |
parent | 71eed0c39d7e8713ba0605d61363acb643c6ead6 (diff) |
Get rid of "delete slide"
...because you can just press delete
Diffstat (limited to 'src')
-rw-r--r-- | src/narrative_window.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c index 820a1c9..2e557a6 100644 --- a/src/narrative_window.c +++ b/src/narrative_window.c @@ -217,29 +217,6 @@ static void save_sig(GSimpleAction *action, GVariant *parameter, gpointer vp) } -static void delete_slide_sig(GSimpleAction *action, GVariant *parameter, - gpointer vp) -{ - /* FIXME: GtkNarrativeView hooks */ -// SCBlock *ns; -// NarrativeWindow *nw = vp; -// -// /* Get the SCBlock corresponding to the slide */ -// ns = sc_editor_get_cursor_bvp(nw->nv); -// if ( ns == NULL ) { -// fprintf(stderr, "Not a slide!\n"); -// return; -// } -// -// sc_block_delete(&nw->dummy_top, ns); -// -// /* Full rerender */ -// sc_editor_set_scblock(nw->nv, nw->dummy_top); -// nw->n->saved = 0; -// update_titlebar(nw); -} - - static gint load_ss_response_sig(GtkWidget *d, gint response, NarrativeWindow *nw) { @@ -676,7 +653,6 @@ GActionEntry nw_entries[] = { { "about", about_sig, NULL, NULL, NULL }, { "save", save_sig, NULL, NULL, NULL }, { "saveas", saveas_sig, NULL, NULL, NULL }, - { "deleteslide", delete_slide_sig, NULL, NULL, NULL }, { "slide", add_slide_sig, NULL, NULL, NULL }, { "loadstylesheet", load_ss_sig, NULL, NULL, NULL }, { "stylesheet", edit_ss_sig, NULL, NULL, NULL }, |