I#1850 - Flatpak: Attachments cannot be opened

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1850
This commit is contained in:
Milan Crha 2022-04-01 12:09:45 +02:00
parent 97cd791810
commit 44cec8e950
4 changed files with 10 additions and 2 deletions

View File

@ -369,6 +369,9 @@
{
"name": "evolution",
"buildsystem": "cmake-ninja",
"build-options" : {
"cflags": "-DTEMP_HOME=1"
},
"config-opts": [
"-DENABLE_AUTOAR=OFF",
"-DENABLE_CONTACT_MAPS=OFF",

View File

@ -368,6 +368,9 @@
{
"name": "evolution",
"buildsystem": "cmake-ninja",
"build-options" : {
"cflags": "-DTEMP_HOME=1"
},
"config-opts": [
"-DENABLE_AUTOAR=OFF",
"-DENABLE_CONTACT_MAPS=OFF",

View File

@ -38,7 +38,9 @@
#define d(x)
/* define to put temporary files in ~/evolution/cache/tmp */
/* define to put temporary files in ~/.cache/evolution/tmp/ */
/* Keep this for Flatpak builds, until glib allows access to in-sandbox /tmp
See https://gitlab.gnome.org/GNOME/glib/-/issues/2235 for more information */
/* #define TEMP_HOME */
/* how old things need to be to expire */

View File

@ -787,7 +787,7 @@ mail_display_open_attachment (EMailDisplay *display,
attachment, default_app, (GAsyncReadyCallback)
e_attachment_open_handle_error, parent);
g_object_unref (default_app);
g_clear_object (&default_app);
} else {
/* ...or save it */
GList *attachments;