mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-02-27 21:14:39 +01:00
Compare constant bookmarks
This commit is contained in:
parent
88937a0390
commit
67ca592a01
2 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ zathura_bookmarks_load(zathura_t* zathura, const gchar* file)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
zathura_bookmarks_compare(zathura_bookmark_t* lhs, zathura_bookmark_t* rhs)
|
zathura_bookmarks_compare(const zathura_bookmark_t* lhs, const zathura_bookmark_t* rhs)
|
||||||
{
|
{
|
||||||
if (lhs == NULL && rhs == NULL) {
|
if (lhs == NULL && rhs == NULL) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -61,6 +61,6 @@ bool zathura_bookmarks_load(zathura_t* zathura, const gchar* file);
|
||||||
* @param rhs a bookmark
|
* @param rhs a bookmark
|
||||||
* @returns g_strcmp0(lhs->id, rhs->id)
|
* @returns g_strcmp0(lhs->id, rhs->id)
|
||||||
*/
|
*/
|
||||||
int zathura_bookmarks_compare(zathura_bookmark_t* lhs, zathura_bookmark_t* rhs);
|
int zathura_bookmarks_compare(const zathura_bookmark_t* lhs, const zathura_bookmark_t* rhs);
|
||||||
|
|
||||||
#endif // BOOKMARKS_H
|
#endif // BOOKMARKS_H
|
||||||
|
|
Loading…
Add table
Reference in a new issue