aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorNeel Chauhan <nc@FreeBSD.org>2022-03-03 06:17:45 +0000
committerNeel Chauhan <nc@FreeBSD.org>2022-03-03 06:17:45 +0000
commitfc22a8cf6b8b32eb11203fb61d069edd2a6bc268 (patch)
tree71ede50f33e095aa3b564d0364d348e9da53fe9e /editors
parentf028d93ec89d6da5b1f612e6927ccc450afa6f2d (diff)
downloadports-fc22a8cf6b8b32eb11203fb61d069edd2a6bc268.tar.gz
ports-fc22a8cf6b8b32eb11203fb61d069edd2a6bc268.zip
Diffstat (limited to 'editors')
-rw-r--r--editors/gedit/files/patch-gedit_gedit-app.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/gedit/files/patch-gedit_gedit-app.c b/editors/gedit/files/patch-gedit_gedit-app.c
new file mode 100644
index 000000000000..cd43b7717138
--- /dev/null
+++ b/editors/gedit/files/patch-gedit_gedit-app.c
@@ -0,0 +1,16 @@
+--- gedit/gedit-app.c.orig 2022-03-03 06:07:06 UTC
++++ gedit/gedit-app.c
+@@ -671,13 +671,6 @@ gedit_app_startup (GApplication *application)
+
+ setup_theme_extensions (GEDIT_APP (application));
+
+-#ifndef ENABLE_GVFS_METADATA
+- cache_dir = gedit_dirs_get_user_cache_dir ();
+- metadata_filename = g_build_filename (cache_dir, "gedit-metadata.xml", NULL);
+- priv->metadata_manager = gedit_metadata_manager_new (metadata_filename);
+- g_free (metadata_filename);
+-#endif
+-
+ /* Load/init settings */
+ _gedit_settings_get_singleton ();
+ priv->ui_settings = g_settings_new ("org.gnome.gedit.preferences.ui");