summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-03-04 12:03:25 -0800
committerDan Nicholson <dbn.lists@gmail.com>2012-03-04 12:03:25 -0800
commit28c244d0a77ad109c787b9ed38af6a912a4fb068 (patch)
treeacaf8f834d967a41195c3f43751053c85e75c1a5 /src
parenta2642f8977f4acff7408d25e2948d27ee86cd3d9 (diff)
plugin: Add a couple more debugging messages
Diffstat (limited to 'src')
-rw-r--r--src/evbp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/evbp.c b/src/evbp.c
index 605a04b..28f3d8a 100644
--- a/src/evbp.c
+++ b/src/evbp.c
@@ -51,8 +51,11 @@ evbp_initialize(void)
g_debug("%s", __func__);
/* Some backends don't handle repeated init */
- if (evbp_is_initialized)
+ if (evbp_is_initialized) {
+ g_debug("plugin already initialized");
return TRUE;
+ } else
+ g_debug("initializing plugin");
/* Init glib threads asap */
if (!g_thread_supported())
@@ -237,6 +240,7 @@ evbp_stream_as_file(NPP instance, NPStream *stream, const char *fname)
g_error_free(error);
return;
}
+ g_debug("loading document \"%s\"", uri);
ev_document_model_set_document(priv->model, priv->document);
ev_view_set_loading(EV_VIEW(priv->view), FALSE);
}