mirror of
https://gitlab.gnome.org/GNOME/evince
synced 2024-07-07 19:39:49 +00:00
shell: Fix incorrect return type
Should be a gboolean, not a pointer. https://bugzilla.gnome.org/show_bug.cgi?id=780206
This commit is contained in:
parent
90d023d5bd
commit
ebe46b8a01
|
@ -227,7 +227,7 @@ ev_bookmarks_get_bookmarks (EvBookmarks *bookmarks)
|
|||
gboolean
|
||||
ev_bookmarks_has_bookmarks (EvBookmarks *bookmarks)
|
||||
{
|
||||
g_return_val_if_fail (EV_IS_BOOKMARKS (bookmarks), NULL);
|
||||
g_return_val_if_fail (EV_IS_BOOKMARKS (bookmarks), FALSE);
|
||||
|
||||
return bookmarks->items != NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user