time-plugin: Port to WindowActivatable
This commit is contained in:
parent
30a61a9fd8
commit
33cb6f4b32
|
@ -3,14 +3,16 @@ DIST_SUBDIRS = \
|
||||||
filebrowser \
|
filebrowser \
|
||||||
modelines \
|
modelines \
|
||||||
sort \
|
sort \
|
||||||
spell
|
spell \
|
||||||
|
time
|
||||||
|
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
docinfo \
|
docinfo \
|
||||||
filebrowser \
|
filebrowser \
|
||||||
modelines \
|
modelines \
|
||||||
sort \
|
sort \
|
||||||
spell
|
spell \
|
||||||
|
time
|
||||||
|
|
||||||
if ENABLE_ENCHANT
|
if ENABLE_ENCHANT
|
||||||
SUBDIRS += spell
|
SUBDIRS += spell
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -30,23 +30,16 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/*
|
#define XED_TYPE_TIME_PLUGIN (xed_time_plugin_get_type ())
|
||||||
* Type checking and casting macros
|
#define XED_TIME_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XED_TYPE_TIME_PLUGIN, XedTimePlugin))
|
||||||
*/
|
#define XED_TIME_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), XED_TYPE_TIME_PLUGIN, XedTimePluginClass))
|
||||||
#define XED_TYPE_TIME_PLUGIN (xed_time_plugin_get_type ())
|
#define XED_IS_TIME_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XED_TYPE_TIME_PLUGIN))
|
||||||
#define XED_TIME_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XED_TYPE_TIME_PLUGIN, XedTimePlugin))
|
#define XED_IS_TIME_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), XED_TYPE_TIME_PLUGIN))
|
||||||
#define XED_TIME_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), XED_TYPE_TIME_PLUGIN, XedTimePluginClass))
|
|
||||||
#define XED_IS_TIME_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XED_TYPE_TIME_PLUGIN))
|
|
||||||
#define XED_IS_TIME_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), XED_TYPE_TIME_PLUGIN))
|
|
||||||
#define XED_TIME_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), XED_TYPE_TIME_PLUGIN, XedTimePluginClass))
|
#define XED_TIME_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), XED_TYPE_TIME_PLUGIN, XedTimePluginClass))
|
||||||
|
|
||||||
/* Private structure type */
|
typedef struct _XedTimePlugin XedTimePlugin;
|
||||||
typedef struct _XedTimePluginPrivate XedTimePluginPrivate;
|
typedef struct _XedTimePluginPrivate XedTimePluginPrivate;
|
||||||
|
typedef struct _XedTimePluginClass XedTimePluginClass;
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _XedTimePlugin XedTimePlugin;
|
|
||||||
|
|
||||||
struct _XedTimePlugin
|
struct _XedTimePlugin
|
||||||
{
|
{
|
||||||
|
@ -56,20 +49,12 @@ struct _XedTimePlugin
|
||||||
XedTimePluginPrivate *priv;
|
XedTimePluginPrivate *priv;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _XedTimePluginClass XedTimePluginClass;
|
|
||||||
|
|
||||||
struct _XedTimePluginClass
|
struct _XedTimePluginClass
|
||||||
{
|
{
|
||||||
PeasExtensionBaseClass parent_class;
|
PeasExtensionBaseClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
GType xed_time_plugin_get_type (void) G_GNUC_CONST;
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType xed_time_plugin_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
/* All the plugins must implement this function */
|
/* 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);
|
||||||
|
|
Loading…
Reference in New Issue