mirror of
https://gitlab.gnome.org/GNOME/evince
synced 2024-06-30 22:54:23 +00:00
Add ev_should_use_portal() copied from gtk+, which tries to find out whether the portal should be used.
34 lines
911 B
C
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
|