1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-07-02 15:48:59 +00:00

libdocument: Fix return value

It must return a gboolean, not a pointer.
This commit is contained in:
Germán Poo-Caamaño 2021-02-13 13:50:55 -03:00
parent 1c4f23226a
commit cf45b884a6

View File

@ -182,7 +182,7 @@ ev_link_action_get_reset_fields (EvLinkAction *self)
gboolean
ev_link_action_get_exclude_reset_fields (EvLinkAction *self)
{
g_return_val_if_fail (EV_IS_LINK_ACTION (self), NULL);
g_return_val_if_fail (EV_IS_LINK_ACTION (self), FALSE);
return self->priv->exclude_reset_fields;
}