summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-window.c')
-rw-r--r--src/eom-window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index bb8c6d9..d17c9d3 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -52,6 +52,7 @@
#include "eom-save-as-dialog-helper.h"
#include "eom-close-confirmation-dialog.h"
#include "eom-clipboard-handler.h"
+#include "eom-window-activatable.h"
#include "eom-metadata-sidebar.h"
#include "eom-enum-types.h"
@@ -5127,8 +5128,9 @@ eom_window_constructor (GType type,
eom_window_construct_ui (EOM_WINDOW (object));
priv->extensions = peas_extension_set_new (PEAS_ENGINE (EOM_APP->plugin_engine),
- PEAS_TYPE_ACTIVATABLE,
- "object", object, NULL);
+ EOM_TYPE_WINDOW_ACTIVATABLE,
+ "window",
+ EOM_WINDOW (object), NULL);
peas_extension_set_call (priv->extensions, "activate");