summaryrefslogtreecommitdiff
path: root/src/eom-preferences-dialog.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-30 21:18:35 +0300
committermonsta <[email protected]>2016-11-30 22:24:15 +0300
commit108741a82a158996883f9d1ae19c6e65226f3309 (patch)
tree7b545ec61d19aa4ce2ac8f421493c248a70baf3a /src/eom-preferences-dialog.c
parent52399afcd688b56aaa0750af6d3af42c26c31abe (diff)
downloadeom-108741a82a158996883f9d1ae19c6e65226f3309.tar.bz2
eom-108741a82a158996883f9d1ae19c6e65226f3309.tar.xz
port plugin system to libpeas
backported from eog with a few changes upstream commits for reference: https://git.gnome.org/browse/eog/commit/?id=1f79c321367c91c8e9063f1343a7e4ce4199c4d5 https://git.gnome.org/browse/eog/commit/?id=9afc5483b615039a580e295fe08d7b8ec524759c https://git.gnome.org/browse/eog/commit/?id=40bedbf33812e65f4a8e79691b1fadfaace94035 https://git.gnome.org/browse/eog/commit/?id=8b0acfddc52c220393770a9895b6b56cab7821fd https://git.gnome.org/browse/eog/commit/?id=95694f8b5f06b891a5e55356451ad60b53387563 https://git.gnome.org/browse/eog/commit/?id=7eeb6c8c0e55a3ad954cde4a6fed91ea7f89691c
Diffstat (limited to 'src/eom-preferences-dialog.c')
-rw-r--r--src/eom-preferences-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eom-preferences-dialog.c b/src/eom-preferences-dialog.c
index 59cd042..24596d3 100644
--- a/src/eom-preferences-dialog.c
+++ b/src/eom-preferences-dialog.c
@@ -27,7 +27,6 @@
#endif
#include "eom-preferences-dialog.h"
-#include "eom-plugin-manager.h"
#include "eom-scroll-view.h"
#include "eom-util.h"
#include "eom-config-keys.h"
@@ -37,6 +36,7 @@
#include <glib-object.h>
#include <gtk/gtk.h>
#include <gio/gio.h>
+#include <libpeas-gtk/peas-gtk-plugin-manager.h>
#define EOM_PREFERENCES_DIALOG_GET_PRIVATE(object) \
(G_TYPE_INSTANCE_GET_PRIVATE ((object), EOM_TYPE_PREFERENCES_DIALOG, EomPreferencesDialogPrivate))
@@ -297,7 +297,7 @@ eom_preferences_dialog_constructor (GType type,
"value",
G_SETTINGS_BIND_DEFAULT);
- plugin_manager = eom_plugin_manager_new ();
+ plugin_manager = peas_gtk_plugin_manager_new (NULL);
g_assert (plugin_manager != NULL);