summaryrefslogtreecommitdiff
path: root/plugins/reload/eom-reload-plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/reload/eom-reload-plugin.h')
-rw-r--r--plugins/reload/eom-reload-plugin.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/plugins/reload/eom-reload-plugin.h b/plugins/reload/eom-reload-plugin.h
index 5f285d2..f3830e1 100644
--- a/plugins/reload/eom-reload-plugin.h
+++ b/plugins/reload/eom-reload-plugin.h
@@ -3,7 +3,9 @@
#include <glib.h>
#include <glib-object.h>
-#include <eom-plugin.h>
+#include <gtk/gtk.h>
+#include <libpeas/peas-extension-base.h>
+#include <libpeas/peas-object-module.h>
G_BEGIN_DECLS
@@ -32,7 +34,11 @@ typedef struct _EomReloadPluginPrivate EomReloadPluginPrivate;
typedef struct _EomReloadPlugin EomReloadPlugin;
struct _EomReloadPlugin {
- EomPlugin parent_instance;
+ PeasExtensionBase parent_instance;
+
+ GtkWidget *window;
+ GtkActionGroup *ui_action_group;
+ guint ui_id;
};
/*
@@ -41,7 +47,7 @@ struct _EomReloadPlugin {
typedef struct _EomReloadPluginClass EomReloadPluginClass;
struct _EomReloadPluginClass {
- EomPluginClass parent_class;
+ PeasExtensionBaseClass parent_class;
};
/*
@@ -50,7 +56,7 @@ struct _EomReloadPluginClass {
GType eom_reload_plugin_get_type (void) G_GNUC_CONST;
/* All the plugins must implement this function */
-G_MODULE_EXPORT GType register_eom_plugin (GTypeModule* module);
+G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module);
G_END_DECLS