From 4a5683f27d68e6a73acd2521fbad3388c7c5634f Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 17 Sep 2007 18:01:10 +0000 Subject: [PATCH] - outdated Changed files: gedit2-active_plugins.patch -> 1.2 --- gedit2-active_plugins.patch | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 gedit2-active_plugins.patch diff --git a/gedit2-active_plugins.patch b/gedit2-active_plugins.patch deleted file mode 100644 index 0da8f72..0000000 --- a/gedit2-active_plugins.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -urN gedit-2.18.0.orig/gedit/gedit-plugins-engine.c gedit-2.18.0/gedit/gedit-plugins-engine.c ---- gedit-2.18.0.orig/gedit/gedit-plugins-engine.c 2007-03-20 20:55:17.000000000 +0100 -+++ gedit-2.18.0/gedit/gedit-plugins-engine.c 2007-03-22 21:37:37.000000000 +0100 -@@ -296,6 +296,7 @@ - GError *error = NULL; - GDir *d; - const gchar *dirent; -+ GSList *ap; - - g_return_if_fail (gedit_plugins_engine_gconf_client != NULL); - -@@ -340,9 +341,16 @@ - - /* Actually, the plugin will be activated when reactivate_all - * will be called for the first time. */ -- info->active = (g_slist_find_custom (active_plugins, -- info->location, -- (GCompareFunc)strcmp) != NULL); -+ ap = active_plugins; -+ while (ap != NULL) -+ { -+ if (strcmp (info->location, (gchar *)ap->data) == 0) -+ { -+ info->active = TRUE; -+ } -+ -+ ap = g_slist_next (ap); -+ } - - gedit_plugins_list = g_list_prepend (gedit_plugins_list, info); - -- 2.43.0