diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2012-03-06 05:42:56 -0800 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2012-03-06 05:42:56 -0800 |
commit | 4c2a5182c99fa285743b66a2e8cd8857c978cf78 (patch) | |
tree | b4a1207f8db074a9f342b1f77482d2d8de948ee2 /src | |
parent | 2d412fde1d71d470df1e7aabe579e94d332d9065 (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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |