summaryrefslogtreecommitdiff
path: root/tests/plugins/self-dep/self-dep-plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/self-dep/self-dep-plugin.c')
-rw-r--r--tests/plugins/self-dep/self-dep-plugin.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/plugins/self-dep/self-dep-plugin.c b/tests/plugins/self-dep/self-dep-plugin.c
index 45d5f4d..8ee10f8 100644
--- a/tests/plugins/self-dep/self-dep-plugin.c
+++ b/tests/plugins/self-dep/self-dep-plugin.c
@@ -29,7 +29,7 @@
#include <libpeas.h>
-#include "peas-activatable.h"
+#include "introspection-activatable.h"
#include "self-dep-plugin.h"
@@ -37,15 +37,15 @@ typedef struct {
GObject *object;
} TestingSelfDepPluginPrivate;
-static void peas_activatable_iface_init (PeasActivatableInterface *iface);
+static void introspection_activatable_iface_init (IntrospectionActivatableInterface *iface);
G_DEFINE_DYNAMIC_TYPE_EXTENDED (TestingSelfDepPlugin,
testing_self_dep_plugin,
PEAS_TYPE_EXTENSION_BASE,
0,
G_ADD_PRIVATE_DYNAMIC (TestingSelfDepPlugin)
- G_IMPLEMENT_INTERFACE_DYNAMIC (PEAS_TYPE_ACTIVATABLE,
- peas_activatable_iface_init))
+ G_IMPLEMENT_INTERFACE_DYNAMIC (INTROSPECTION_TYPE_ACTIVATABLE,
+ introspection_activatable_iface_init))
#define GET_PRIV(o) \
(testing_self_dep_plugin_get_instance_private (o))
@@ -103,12 +103,12 @@ testing_self_dep_plugin_init (TestingSelfDepPlugin *plugin)
}
static void
-testing_self_dep_plugin_activate (PeasActivatable *activatable)
+testing_self_dep_plugin_activate (IntrospectionActivatable *activatable)
{
}
static void
-testing_self_dep_plugin_deactivate (PeasActivatable *activatable)
+testing_self_dep_plugin_deactivate (IntrospectionActivatable *activatable)
{
}
@@ -124,7 +124,7 @@ testing_self_dep_plugin_class_init (TestingSelfDepPluginClass *klass)
}
static void
-peas_activatable_iface_init (PeasActivatableInterface *iface)
+introspection_activatable_iface_init (IntrospectionActivatableInterface *iface)
{
iface->activate = testing_self_dep_plugin_activate;
iface->deactivate = testing_self_dep_plugin_deactivate;
@@ -141,6 +141,6 @@ peas_register_types (PeasObjectModule *module)
testing_self_dep_plugin_register_type (G_TYPE_MODULE (module));
peas_object_module_register_extension_type (module,
- PEAS_TYPE_ACTIVATABLE,
+ INTROSPECTION_TYPE_ACTIVATABLE,
TESTING_TYPE_SELF_DEP_PLUGIN);
}