From 67a0f36183ed2fe4dd66a044566e523b4b256fe4 Mon Sep 17 00:00:00 2001 From: monsta Date: Sat, 3 Dec 2016 16:37:43 +0300 Subject: spell plugin: port to libpeas mostly adapted from: https://git.gnome.org/browse/gedit/commit/?id=f12be5be627c7b75c0a5f41e8ffec2d5202401d0 https://git.gnome.org/browse/gedit/commit/?id=939dec5739bfd1f15895994ef133753a095aac4e --- plugins/spell/pluma-spell-plugin.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'plugins/spell/pluma-spell-plugin.h') diff --git a/plugins/spell/pluma-spell-plugin.h b/plugins/spell/pluma-spell-plugin.h index d2c06252..aa45eb63 100644 --- a/plugins/spell/pluma-spell-plugin.h +++ b/plugins/spell/pluma-spell-plugin.h @@ -25,7 +25,8 @@ #include #include -#include +#include +#include G_BEGIN_DECLS @@ -49,8 +50,9 @@ typedef struct _PlumaSpellPlugin PlumaSpellPlugin; struct _PlumaSpellPlugin { - PlumaPlugin parent_instance; + PeasExtensionBase parent_instance; + /*< private >*/ PlumaSpellPluginPrivate *priv; }; @@ -61,7 +63,7 @@ typedef struct _PlumaSpellPluginClass PlumaSpellPluginClass; struct _PlumaSpellPluginClass { - PlumaPluginClass parent_class; + PeasExtensionBaseClass parent_class; }; /* @@ -70,7 +72,7 @@ struct _PlumaSpellPluginClass GType pluma_spell_plugin_get_type (void) G_GNUC_CONST; /* All the plugins must implement this function */ -G_MODULE_EXPORT GType register_pluma_plugin (GTypeModule *module); +G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module); G_END_DECLS -- cgit v1.2.1