summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-03-06 05:42:56 -0800
committerDan Nicholson <dbn.lists@gmail.com>2012-03-06 05:42:56 -0800
commit4c2a5182c99fa285743b66a2e8cd8857c978cf78 (patch)
treeb4a1207f8db074a9f342b1f77482d2d8de948ee2 /src
parent2d412fde1d71d470df1e7aabe579e94d332d9065 (diff)
plugin: Drop unused filename member
The EvDocument holds the file's uri, so there's no need to hold on to the filename as given to us by the browser.
Diffstat (limited to 'src')
-rw-r--r--src/evbp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/evbp.c b/src/evbp.c
index e0bfa61..0d73abe 100644
--- a/src/evbp.c
+++ b/src/evbp.c
@@ -39,7 +39,6 @@
typedef struct evbp_priv {
NPP npp;
NPWindow *window;
- const char *filename;
EvDocument *document;
EvDocumentModel *model;
GtkWidget *scroll;
@@ -243,7 +242,6 @@ evbp_stream_as_file(NPP instance, NPStream *stream, const char *fname)
fname);
return;
}
- priv->filename = fname;
/* convert the filename to a uri */
file = g_file_new_for_commandline_arg(fname);