From 10e840d2231e21c8419dd01d5fbc652c72c51767 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Sun, 23 Jul 2017 15:17:05 +0300 Subject: desktop: initialize Exempi in main() Opening the file properties window causes a crash with images that have embedded XMP information. This is caused by not initializing the library properly. https://bugzilla.gnome.org/show_bug.cgi?id=785292 --- nautilus-desktop/main-desktop.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nautilus-desktop/main-desktop.c b/nautilus-desktop/main-desktop.c index 57abeae8a..23cfb3e4c 100644 --- a/nautilus-desktop/main-desktop.c +++ b/nautilus-desktop/main-desktop.c @@ -13,6 +13,10 @@ #include #include +#ifdef HAVE_EXEMPI +#include +#endif + int main (int argc, char *argv[]) @@ -27,6 +31,10 @@ main (int argc, g_set_prgname ("nautilus-desktop"); +#ifdef HAVE_EXEMPI + xmp_init (); +#endif + gdk_set_allowed_backends ("x11"); nautilus_register_resource (); -- cgit v1.2.1