summaryrefslogtreecommitdiff
path: root/plugins/statusbar-date/eom-statusbar-date-plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/statusbar-date/eom-statusbar-date-plugin.h')
-rw-r--r--plugins/statusbar-date/eom-statusbar-date-plugin.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/plugins/statusbar-date/eom-statusbar-date-plugin.h b/plugins/statusbar-date/eom-statusbar-date-plugin.h
index 0718bbe..b779fce 100644
--- a/plugins/statusbar-date/eom-statusbar-date-plugin.h
+++ b/plugins/statusbar-date/eom-statusbar-date-plugin.h
@@ -24,7 +24,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
@@ -53,7 +55,11 @@ typedef struct _EomStatusbarDatePluginPrivate EomStatusbarDatePluginPrivate;
typedef struct _EomStatusbarDatePlugin EomStatusbarDatePlugin;
struct _EomStatusbarDatePlugin {
- EomPlugin parent_instance;
+ PeasExtensionBase parent_instance;
+
+ GtkWidget *window;
+ GtkWidget *statusbar_date;
+ gulong signal_id;
};
/*
@@ -62,7 +68,7 @@ struct _EomStatusbarDatePlugin {
typedef struct _EomStatusbarDatePluginClass EomStatusbarDatePluginClass;
struct _EomStatusbarDatePluginClass {
- EomPluginClass parent_class;
+ PeasExtensionBaseClass parent_class;
};
/*
@@ -71,7 +77,7 @@ struct _EomStatusbarDatePluginClass {
GType eom_statusbar_date_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