diff options
Diffstat (limited to 'plugins/sort/pluma-sort-plugin.h')
-rw-r--r-- | plugins/sort/pluma-sort-plugin.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/plugins/sort/pluma-sort-plugin.h b/plugins/sort/pluma-sort-plugin.h index 2ba82441..fc495633 100644 --- a/plugins/sort/pluma-sort-plugin.h +++ b/plugins/sort/pluma-sort-plugin.h @@ -23,7 +23,8 @@ #include <glib.h> #include <glib-object.h> -#include <pluma/pluma-plugin.h> +#include <libpeas/peas-extension-base.h> +#include <libpeas/peas-object-module.h> G_BEGIN_DECLS @@ -47,7 +48,10 @@ typedef struct _PlumaSortPlugin PlumaSortPlugin; struct _PlumaSortPlugin { - PlumaPlugin parent_instance; + PeasExtensionBase parent_instance; + + /*< private >*/ + PlumaSortPluginPrivate *priv; }; /* @@ -57,7 +61,7 @@ typedef struct _PlumaSortPluginClass PlumaSortPluginClass; struct _PlumaSortPluginClass { - PlumaPluginClass parent_class; + PeasExtensionBaseClass parent_class; }; /* @@ -66,7 +70,7 @@ struct _PlumaSortPluginClass GType pluma_sort_plugin_get_type (void) G_GNUC_CONST; /* All the plugins must implement this function */ -G_MODULE_EXPORT GType register_pluma_plugin (GTypeModule *module); +G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module); G_END_DECLS |