aboutsummaryrefslogtreecommitdiff
path: root/libstorycode
diff options
context:
space:
mode:
Diffstat (limited to 'libstorycode')
-rw-r--r--libstorycode/gtk/gtknarrativeview.c3
-rw-r--r--libstorycode/gtk/gtknarrativeview.h1
2 files changed, 0 insertions, 4 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;
}
diff --git a/libstorycode/gtk/gtknarrativeview.h b/libstorycode/gtk/gtknarrativeview.h
index bf596fc..7fa4d38 100644
--- a/libstorycode/gtk/gtknarrativeview.h
+++ b/libstorycode/gtk/gtknarrativeview.h
@@ -94,7 +94,6 @@ struct _gtknarrativeview
/*< private >*/
Presentation *p;
GtkIMContext *im_context;
- PangoContext *pc;
int w; /* Surface size in pixels */
int h;