aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-05-10 23:37:06 +0200
committerThomas White <taw@bitwiz.me.uk>2019-08-13 21:30:56 +0200
commita44d8d9be8903449f3c72047ff623fbafe0ffcb8 (patch)
tree7f5db8e865787c50febea175c17daf10debcba3f
parentd1089423bd69517513913e0d7d38acf30c44b757 (diff)
Remove old code
-rw-r--r--src/narrative_window.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c
index 7eed8ca..6c952f9 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -569,12 +569,6 @@ static gboolean nw_key_press_sig(GtkWidget *da, GdkEventKey *event,
}
break;
- case GDK_KEY_F5 :
- if ( nw->show != NULL ) {
- /* Trap F5 so that full rerender does NOT happen */
- return TRUE;
- }
-
}
return FALSE;
@@ -692,29 +686,6 @@ GActionEntry nw_entries[] = {
};
-//void narrative_window_sw_closed(NarrativeWindow *nw, SlideWindow *sw)
-//{
-// int i;
-// int found = 0;
-//
-// for ( i=0; i<nw->n_slidewindows; i++ ) {
-// if ( nw->slidewindows[i] == sw ) {
-//
-// int j;
-// for ( j=i; j<nw->n_slidewindows-1; j++ ) {
-// nw->slidewindows[j] = nw->slidewindows[j+1];
-// }
-// nw->n_slidewindows--;
-// found = 1;
-// }
-// }
-//
-// if ( !found ) {
-// fprintf(stderr, "Couldn't find slide window in narrative record\n");
-// }
-//}
-
-
NarrativeWindow *narrative_window_new(Narrative *n, GFile *file, GApplication *papp)
{
NarrativeWindow *nw;