diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2012-03-04 12:03:25 -0800 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2012-03-04 12:03:25 -0800 |
commit | 28c244d0a77ad109c787b9ed38af6a912a4fb068 (patch) | |
tree | acaf8f834d967a41195c3f43751053c85e75c1a5 /src | |
parent | a2642f8977f4acff7408d25e2948d27ee86cd3d9 (diff) |
plugin: Add a couple more debugging messages
Diffstat (limited to 'src')
-rw-r--r-- | src/evbp.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); } |