Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
a6e6c3f1
Commit
a6e6c3f1
authored
Jan 15, 2013
by
Sebastian Ramacher
Browse files
demote some info-level messages to debug
parent
67d4ba07
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugin.c
View file @
a6e6c3f1
...
...
@@ -100,7 +100,7 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
while
((
name
=
(
char
*
)
g_dir_read_name
(
dir
))
!=
NULL
)
{
char
*
path
=
g_build_filename
(
plugindir
,
name
,
NULL
);
if
(
g_file_test
(
path
,
G_FILE_TEST_IS_REGULAR
)
==
0
)
{
girara_
info
(
"%s is not a regular file. Skipping."
,
path
);
girara_
debug
(
"%s is not a regular file. Skipping."
,
path
);
g_free
(
path
);
continue
;
}
...
...
@@ -182,7 +182,7 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
girara_error
(
"could not register plugin %s"
,
path
);
zathura_plugin_free
(
plugin
);
}
else
{
girara_
info
(
"successfully loaded plugin %s"
,
path
);
girara_
debug
(
"successfully loaded plugin %s"
,
path
);
zathura_plugin_version_function_t
plugin_major
=
NULL
,
plugin_minor
=
NULL
,
plugin_rev
=
NULL
;
g_module_symbol
(
handle
,
PLUGIN_VERSION_MAJOR_FUNCTION
,
(
gpointer
*
)
&
plugin_major
);
...
...
zathura.c
View file @
a6e6c3f1
...
...
@@ -212,11 +212,11 @@ zathura_init(zathura_t* zathura)
girara_setting_get
(
zathura
->
ui
.
session
,
"database"
,
&
database
);
if
(
g_strcmp0
(
database
,
"plain"
)
==
0
)
{
girara_
info
(
"Using plain database backend."
);
girara_
debug
(
"Using plain database backend."
);
zathura
->
database
=
zathura_plaindatabase_new
(
zathura
->
config
.
data_dir
);
#ifdef WITH_SQLITE
}
else
if
(
g_strcmp0
(
database
,
"sqlite"
)
==
0
)
{
girara_
info
(
"Using sqlite database backend."
);
girara_
debug
(
"Using sqlite database backend."
);
char
*
tmp
=
g_build_filename
(
zathura
->
config
.
data_dir
,
"bookmarks.sqlite"
,
NULL
);
zathura
->
database
=
zathura_sqldatabase_new
(
tmp
);
g_free
(
tmp
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment