mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 22:03:48 +01:00
Compare constant bookmarks
This commit is contained in:
parent
88937a0390
commit
67ca592a01
@ -134,7 +134,7 @@ zathura_bookmarks_load(zathura_t* zathura, const gchar* file)
|
||||
}
|
||||
|
||||
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) {
|
||||
return 0;
|
||||
|
@ -61,6 +61,6 @@ bool zathura_bookmarks_load(zathura_t* zathura, const gchar* file);
|
||||
* @param rhs a bookmark
|
||||
* @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
|
||||
|
Loading…
Reference in New Issue
Block a user