diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/pglist.h | 2 | ||||
-rw-r--r-- | src/plugins/plugin-int.h | 4 | ||||
-rw-r--r-- | src/plugins/plugin.c | 8 | ||||
-rw-r--r-- | src/plugins/plugin.h | 4 | ||||
-rw-r--r-- | src/plugins/self.h | 3 |
5 files changed, 9 insertions, 12 deletions
diff --git a/src/plugins/pglist.h b/src/plugins/pglist.h index 9cc6aee..9063e78 100644 --- a/src/plugins/pglist.h +++ b/src/plugins/pglist.h @@ -27,7 +27,7 @@ #include <stdbool.h> -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT # include <gtk/gtk.h> #endif diff --git a/src/plugins/plugin-int.h b/src/plugins/plugin-int.h index db1cbb0..067edcb 100644 --- a/src/plugins/plugin-int.h +++ b/src/plugins/plugin-int.h @@ -57,7 +57,7 @@ typedef void (* pg_handle_content_fc) (const GPluginModule *, PluginAction, GBin /* Procède à une opération liée à un contenu chargé. */ typedef void (* pg_handle_loaded_fc) (const GPluginModule *, PluginAction, GLoadedContent *, wgroup_id_t, GtkStatusStack *); -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT /* Complète une liste de resources pour thème. */ typedef void (* pg_include_theme_fc) (const GPluginModule *, PluginAction, gboolean, char ***, size_t *); @@ -119,7 +119,7 @@ struct _GPluginModuleClass pg_get_modname_fc get_modname; /* Fourniture du nom brut */ -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT pg_include_theme_fc include_theme; /* Extension d'un thème */ pg_notify_panel_fc notify_panel; /* Création de panneau */ pg_notify_docking_fc notify_docking; /* Affichage ou retrait */ diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c index 1ef90fb..0281617 100644 --- a/src/plugins/plugin.c +++ b/src/plugins/plugin.c @@ -669,7 +669,7 @@ static void g_plugin_module_init_gclass(GPluginModuleClass *class, GModule *modu switch (action) { case PGA_GUI_THEME: -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT load_plugin_symbol(module, "chrysalide_plugin_include_theme", &class->include_theme); #endif @@ -688,14 +688,14 @@ static void g_plugin_module_init_gclass(GPluginModuleClass *class, GModule *modu switch (action) { case PGA_PANEL_CREATION: -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT load_plugin_symbol(module, "chrysalide_plugin_on_panel_creation", &class->notify_panel); #endif break; case PGA_PANEL_DOCKING: -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT load_plugin_symbol(module, "chrysalide_plugin_on_panel_docking", &class->notify_docking); #endif @@ -1429,7 +1429,7 @@ gpointer g_plugin_module_build_type_instance(GPluginModule *plugin, PluginAction } -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT /****************************************************************************** diff --git a/src/plugins/plugin.h b/src/plugins/plugin.h index aac5f0d..b13608f 100644 --- a/src/plugins/plugin.h +++ b/src/plugins/plugin.h @@ -37,7 +37,7 @@ #include "../format/preload.h" #include "../glibext/configuration.h" #include "../glibext/notifier.h" -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT #include "../gui/panel.h" #endif @@ -121,7 +121,7 @@ void g_plugin_module_notify_plugins_loaded(GPluginModule *, PluginAction, void * /* Crée une instance à partir d'un type dynamique externe. */ gpointer g_plugin_module_build_type_instance(GPluginModule *, PluginAction, GType); -#ifdef HAVE_GTK_SUPPORT +#ifdef INCLUDE_GTK_SUPPORT /* Complète une liste de resources pour thème. */ void g_plugin_module_include_theme(const GPluginModule *, PluginAction, gboolean, char ***, size_t *); diff --git a/src/plugins/self.h b/src/plugins/self.h index 6a2e12d..3c14a0a 100644 --- a/src/plugins/self.h +++ b/src/plugins/self.h @@ -26,9 +26,6 @@ #define _PLUGINS_SELF_H -#include <config.h> - - #ifndef _PLUGINS_PLUGIN_H # include "plugin.h" #endif |