Commit 68ebb6f1 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Debug output for content type mapping

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 4ea9d465
......@@ -253,15 +253,16 @@ register_plugin(zathura_plugin_manager_t* plugin_manager, zathura_plugin_t* plug
|| plugin->content_types == NULL
|| plugin_manager == NULL
|| plugin_manager->plugins == NULL) {
girara_error("plugin: could not register\n");
girara_error("plugin: could not register");
return false;
}
bool at_least_one = false;
GIRARA_LIST_FOREACH_BODY(plugin->content_types, gchar*, type,
if (plugin_mapping_new(plugin_manager, type, plugin) == false) {
girara_error("plugin: already registered for filetype %s\n", type);
girara_error("plugin: filetype already registered: %s", type);
} else {
girara_debug("plugin: filetype mapping addded: %s", type);
at_least_one = true;
}
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment