spell-plugin: Update to the new WindowActivatable interface
This commit is contained in:
parent
f65ce8f7ca
commit
30a61a9fd8
|
@ -2,12 +2,18 @@ DIST_SUBDIRS = \
|
||||||
docinfo \
|
docinfo \
|
||||||
filebrowser \
|
filebrowser \
|
||||||
modelines \
|
modelines \
|
||||||
sort
|
sort \
|
||||||
|
spell
|
||||||
|
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
docinfo \
|
docinfo \
|
||||||
filebrowser \
|
filebrowser \
|
||||||
modelines \
|
modelines \
|
||||||
sort
|
sort \
|
||||||
|
spell
|
||||||
|
|
||||||
|
if ENABLE_ENCHANT
|
||||||
|
SUBDIRS += spell
|
||||||
|
endif
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -30,23 +30,16 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/*
|
#define XED_TYPE_SPELL_PLUGIN (xed_spell_plugin_get_type ())
|
||||||
* Type checking and casting macros
|
#define XED_SPELL_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XED_TYPE_SPELL_PLUGIN, XedSpellPlugin))
|
||||||
*/
|
#define XED_SPELL_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), XED_TYPE_SPELL_PLUGIN, XedSpellPluginClass))
|
||||||
#define XED_TYPE_SPELL_PLUGIN (xed_spell_plugin_get_type ())
|
#define XED_IS_SPELL_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XED_TYPE_SPELL_PLUGIN))
|
||||||
#define XED_SPELL_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XED_TYPE_SPELL_PLUGIN, XedSpellPlugin))
|
|
||||||
#define XED_SPELL_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), XED_TYPE_SPELL_PLUGIN, XedSpellPluginClass))
|
|
||||||
#define XED_IS_SPELL_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XED_TYPE_SPELL_PLUGIN))
|
|
||||||
#define XED_IS_SPELL_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), XED_TYPE_SPELL_PLUGIN))
|
#define XED_IS_SPELL_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), XED_TYPE_SPELL_PLUGIN))
|
||||||
#define XED_SPELL_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), XED_TYPE_SPELL_PLUGIN, XedSpellPluginClass))
|
#define XED_SPELL_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), XED_TYPE_SPELL_PLUGIN, XedSpellPluginClass))
|
||||||
|
|
||||||
/* Private structure type */
|
typedef struct _XedSpellPlugin XedSpellPlugin;
|
||||||
typedef struct _XedSpellPluginPrivate XedSpellPluginPrivate;
|
typedef struct _XedSpellPluginPrivate XedSpellPluginPrivate;
|
||||||
|
typedef struct _XedSpellPluginClass XedSpellPluginClass;
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _XedSpellPlugin XedSpellPlugin;
|
|
||||||
|
|
||||||
struct _XedSpellPlugin
|
struct _XedSpellPlugin
|
||||||
{
|
{
|
||||||
|
@ -55,22 +48,13 @@ struct _XedSpellPlugin
|
||||||
XedSpellPluginPrivate *priv;
|
XedSpellPluginPrivate *priv;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _XedSpellPluginClass XedSpellPluginClass;
|
|
||||||
|
|
||||||
struct _XedSpellPluginClass
|
struct _XedSpellPluginClass
|
||||||
{
|
{
|
||||||
PeasExtensionBaseClass parent_class;
|
PeasExtensionBaseClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
GType xed_spell_plugin_get_type (void) G_GNUC_CONST;
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType xed_spell_plugin_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
/* All the plugins must implement this function */
|
|
||||||
G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module);
|
G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
Loading…
Reference in New Issue