summaryrefslogtreecommitdiff
path: root/plugins/fullscreen/eom-fullscreen-plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/fullscreen/eom-fullscreen-plugin.h')
-rw-r--r--plugins/fullscreen/eom-fullscreen-plugin.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/plugins/fullscreen/eom-fullscreen-plugin.h b/plugins/fullscreen/eom-fullscreen-plugin.h
index 17db056..0e7d9da 100644
--- a/plugins/fullscreen/eom-fullscreen-plugin.h
+++ b/plugins/fullscreen/eom-fullscreen-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,10 @@ typedef struct _EomFullscreenPluginPrivate EomFullscreenPluginPrivate;
typedef struct _EomFullscreenPlugin EomFullscreenPlugin;
struct _EomFullscreenPlugin {
- EomPlugin parent_instance;
+ PeasExtensionBase parent_instance;
+
+ GtkWidget *window;
+ gulong signal_id;
};
/*
@@ -41,7 +46,7 @@ struct _EomFullscreenPlugin {
typedef struct _EomFullscreenPluginClass EomFullscreenPluginClass;
struct _EomFullscreenPluginClass {
- EomPluginClass parent_class;
+ PeasExtensionBaseClass parent_class;
};
/*
@@ -50,7 +55,7 @@ struct _EomFullscreenPluginClass {
GType eom_fullscreen_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