aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/gtk/gtknarrativeview.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-03-05 08:57:26 +0100
committerThomas White <taw@bitwiz.me.uk>2019-03-05 08:57:26 +0100
commit7cf7aaf9eba9ea6550ca6c09631c9f6783c1a24b (patch)
tree82b66e7cd18b48b7149ac9fc5584b5b4c7c784ee /libstorycode/gtk/gtknarrativeview.c
parent915fcacee4c49f017ab2599b4307198ca3f713d3 (diff)
Remove unused PangoContext
Diffstat (limited to 'libstorycode/gtk/gtknarrativeview.c')
-rw-r--r--libstorycode/gtk/gtknarrativeview.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libstorycode/gtk/gtknarrativeview.c b/libstorycode/gtk/gtknarrativeview.c
index 90915ab..043925e 100644
--- a/libstorycode/gtk/gtknarrativeview.c
+++ b/libstorycode/gtk/gtknarrativeview.c
@@ -1005,9 +1005,6 @@ static gint realise_sig(GtkWidget *da, GtkNarrativeView *e)
g_signal_connect(G_OBJECT(e->im_context), "commit", G_CALLBACK(im_commit_sig), e);
g_signal_connect(G_OBJECT(e), "key-press-event", G_CALLBACK(key_press_sig), e);
- /* FIXME: Can do this "properly" by setting up a separate font map */
- e->pc = gtk_widget_get_pango_context(GTK_WIDGET(e));
-
return FALSE;
}