diff options
author | monsta <[email protected]> | 2016-12-01 21:42:01 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-12-05 15:05:10 +0300 |
commit | 52fd78ddfcbe35507aee9122fed0f18c99407c89 (patch) | |
tree | 6f3dd1b679a503f63ec32d14ef3de383b87904a6 /pluma/dialogs/pluma-preferences-dialog.c | |
parent | 0389542290dc655a68cc352df12bd76ac796bbc7 (diff) | |
download | pluma-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/dialogs/pluma-preferences-dialog.c')
-rwxr-xr-x | pluma/dialogs/pluma-preferences-dialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pluma/dialogs/pluma-preferences-dialog.c b/pluma/dialogs/pluma-preferences-dialog.c index 3bacd273..be13d59d 100755 --- a/pluma/dialogs/pluma-preferences-dialog.c +++ b/pluma/dialogs/pluma-preferences-dialog.c @@ -39,6 +39,7 @@ #include <glib/gi18n.h> #include <gtk/gtk.h> #include <gtksourceview/gtksource.h> +#include <libpeas-gtk/peas-gtk-plugin-manager.h> #include <pluma/pluma-prefs-manager.h> @@ -47,7 +48,6 @@ #include "pluma-debug.h" #include "pluma-document.h" #include "pluma-style-scheme-manager.h" -#include "pluma-plugin-manager.h" #include "pluma-help.h" #include "pluma-dirs.h" @@ -1047,7 +1047,7 @@ setup_plugins_page (PlumaPreferencesDialog *dlg) pluma_debug (DEBUG_PREFS); - page_content = pluma_plugin_manager_new (); + page_content = peas_gtk_plugin_manager_new (NULL); g_return_if_fail (page_content != NULL); gtk_box_pack_start (GTK_BOX (dlg->priv->plugin_manager_place_holder), |