summaryrefslogtreecommitdiff
path: root/pluma/pluma-prefs-manager-app.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-12-01 21:42:01 +0300
committermonsta <[email protected]>2016-12-05 15:05:10 +0300
commit52fd78ddfcbe35507aee9122fed0f18c99407c89 (patch)
tree6f3dd1b679a503f63ec32d14ef3de383b87904a6 /pluma/pluma-prefs-manager-app.c
parent0389542290dc655a68cc352df12bd76ac796bbc7 (diff)
downloadpluma-52fd78ddfcbe35507aee9122fed0f18c99407c89.tar.bz2
pluma-52fd78ddfcbe35507aee9122fed0f18c99407c89.tar.xz
port plugin system to libpeas
backported from gedit with a few changes upstream commits for reference: https://git.gnome.org/browse/gedit/commit/?id=dbc98da7fda69981e61c5764af50c72b756eb2cc https://git.gnome.org/browse/gedit/commit/?id=2ae732a53ef08145c06909dc675134573c8c2e6d https://git.gnome.org/browse/gedit/commit/?id=6cd4936fb3aa6ca44a7c85888c6aad6c02b0f983 https://git.gnome.org/browse/gedit/commit/?id=041399d3d09389f951af8db4f5b83d142a9ebe55 https://git.gnome.org/browse/gedit/commit/?id=da46f5d6cd9b727e23ec0ae79bb0a78419bb1363 https://git.gnome.org/browse/gedit/commit/?id=1d56b827f14096891bb03dbd5e8211fdad1331ad https://git.gnome.org/browse/gedit/commit/?id=e63de5a2396a56eeba46479a54628843538da29e
Diffstat (limited to 'pluma/pluma-prefs-manager-app.c')
-rw-r--r--pluma/pluma-prefs-manager-app.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/pluma/pluma-prefs-manager-app.c b/pluma/pluma-prefs-manager-app.c
index 34a666eb..76d3942e 100644
--- a/pluma/pluma-prefs-manager-app.c
+++ b/pluma/pluma-prefs-manager-app.c
@@ -112,10 +112,6 @@ static void pluma_prefs_manager_auto_save_changed (GSettings *settings,
gchar *key,
gpointer user_data);
-static void pluma_prefs_manager_active_plugins_changed (GSettings *settings,
- gchar *key,
- gpointer user_data);
-
static void pluma_prefs_manager_lockdown_changed (GSettings *settings,
gchar *key,
gpointer user_data);
@@ -713,11 +709,6 @@ pluma_prefs_manager_app_init (void)
G_CALLBACK (pluma_prefs_manager_auto_save_changed),
NULL);
- g_signal_connect (pluma_prefs_manager->settings,
- "changed::" GPM_ACTIVE_PLUGINS,
- G_CALLBACK (pluma_prefs_manager_active_plugins_changed),
- NULL);
-
g_signal_connect (pluma_prefs_manager->lockdown_settings,
"changed",
G_CALLBACK (pluma_prefs_manager_lockdown_changed),
@@ -1415,23 +1406,6 @@ pluma_prefs_manager_auto_save_changed (GSettings *settings,
}
static void
-pluma_prefs_manager_active_plugins_changed (GSettings *settings,
- gchar *key,
- gpointer user_data)
-{
- pluma_debug (DEBUG_PREFS);
-
- if (strcmp (key, GPM_ACTIVE_PLUGINS) == 0)
- {
- PlumaPluginsEngine *engine;
-
- engine = pluma_plugins_engine_get_default ();
-
- pluma_plugins_engine_active_plugins_changed (engine);
- }
-}
-
-static void
pluma_prefs_manager_lockdown_changed (GSettings *settings,
gchar *key,
gpointer user_data)