1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-06-30 22:54:23 +00:00
evince/libdocument/ev-portal.h
Christian Persch fdc8c4375d libdocument: Add portal helper function
Add ev_should_use_portal() copied from gtk+, which tries to find
out whether the portal should be used.
2022-01-12 02:05:56 +00:00

34 lines
911 B
C

/*
* Copyright © 2018 Christian Persch
*
* Evince is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* Evince is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#include <glib.h>
#include "ev-macros.h"
G_BEGIN_DECLS
EV_PRIVATE
gboolean ev_should_use_portal (void);
G_END_DECLS