Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
02e0c8b2
Commit
02e0c8b2
authored
Oct 03, 2011
by
Sebastian Ramacher
Browse files
Fix a typo
parent
577d4857
Changes
2
Hide whitespace changes
Inline
Side-by-side
bookmarks.c
View file @
02e0c8b2
...
...
@@ -81,8 +81,11 @@ zathura_bookmark_free(zathura_bookmark_t* bookmark)
bool
zathura_bookmarks_load
(
zathura_t
*
zathura
,
const
gchar
*
file
)
{
g_return_val_if_fail
(
zathura
&&
zathura
->
database
,
false
);
g_return_val_if_fail
(
zathura
,
false
);
g_return_val_if_fail
(
file
,
false
);
if
(
zathura
->
database
==
NULL
)
{
return
false
;
}
girara_list_t
*
bookmarks
=
zathura_db_load_bookmarks
(
zathura
->
database
,
file
);
if
(
!
bookmarks
)
{
...
...
zathura.c
View file @
02e0c8b2
...
...
@@ -204,7 +204,7 @@ zathura_init(int argc, char* argv[])
char
*
database_path
=
g_build_filename
(
zathura
->
config
.
data_dir
,
"bookmarks.sqlite"
,
NULL
);
zathura
->
database
=
zathura_db_init
(
database_path
);
if
(
zathura
->
database
==
NULL
)
{
girara_error
(
"Unable to ini
z
ialize database. Bookmarks won't be available."
);
girara_error
(
"Unable to ini
t
ialize database. Bookmarks won't be available."
);
}
g_free
(
database_path
);
...
...
Write
Preview
Supports
Markdown
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