spell-plugin: Update to the new WindowActivatable interface
This commit is contained in:
parent
f65ce8f7ca
commit
30a61a9fd8
|
@ -2,12 +2,18 @@ DIST_SUBDIRS = \
|
|||
docinfo \
|
||||
filebrowser \
|
||||
modelines \
|
||||
sort
|
||||
sort \
|
||||
spell
|
||||
|
||||
SUBDIRS = \
|
||||
docinfo \
|
||||
filebrowser \
|
||||
modelines \
|
||||
sort
|
||||
sort \
|
||||
spell
|
||||
|
||||
if ENABLE_ENCHANT
|
||||
SUBDIRS += spell
|
||||
endif
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -30,23 +30,16 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/*
|
||||
* Type checking and casting macros
|
||||
*/
|
||||
#define XED_TYPE_SPELL_PLUGIN (xed_spell_plugin_get_type ())
|
||||
#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_TYPE_SPELL_PLUGIN (xed_spell_plugin_get_type ())
|
||||
#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_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;
|
||||
|
||||
/*
|
||||
* Main object structure
|
||||
*/
|
||||
typedef struct _XedSpellPlugin XedSpellPlugin;
|
||||
typedef struct _XedSpellPluginClass XedSpellPluginClass;
|
||||
|
||||
struct _XedSpellPlugin
|
||||
{
|
||||
|
@ -55,22 +48,13 @@ struct _XedSpellPlugin
|
|||
XedSpellPluginPrivate *priv;
|
||||
};
|
||||
|
||||
/*
|
||||
* Class definition
|
||||
*/
|
||||
typedef struct _XedSpellPluginClass XedSpellPluginClass;
|
||||
|
||||
struct _XedSpellPluginClass
|
||||
{
|
||||
PeasExtensionBaseClass parent_class;
|
||||
};
|
||||
|
||||
/*
|
||||
* Public methods
|
||||
*/
|
||||
GType xed_spell_plugin_get_type (void) G_GNUC_CONST;
|
||||
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_END_DECLS
|
||||
|
|
Loading…
Reference in New Issue