+#ifdef HAVE_SPELL
+#if GTK_CHECK_VERSION(3,20,0)
+ if (g_strcmp0(key, "Xmp.xmp.Rating") != 0)
+ {
+ if (options->metadata.check_spelling)
+ {
+ gspell_view = gspell_text_view_get_from_gtk_text_view(GTK_TEXT_VIEW(pcd->comment_view));
+ gspell_text_view_basic_setup(gspell_view);
+ }
+ }
+#endif
+#endif
+