diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2019-07-22 20:39:36 (GMT) | 
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2019-07-22 20:39:36 (GMT) | 
| commit | 3688ebc981037f6aabea06298aa28dd7c9163894 (patch) | |
| tree | d0ab50e08247ab46919a85e440d9ca97de8ccc92 /src/plugins/plugin.c | |
| parent | 6a8385724c74b07cf9ed4cb9052f1af1816e3ea5 (diff) | |
Allowed plugins to extend the current theme.
Diffstat (limited to 'src/plugins/plugin.c')
| -rw-r--r-- | src/plugins/plugin.c | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c index 7423148..f7a52dd 100644 --- a/src/plugins/plugin.c +++ b/src/plugins/plugin.c @@ -1047,6 +1047,7 @@ void g_plugin_module_notify_native_loaded(GPluginModule *plugin, PluginAction ac  *                                                                             *  *  Paramètres  : plugin    = greffon à manipuler.                             *  *                action    = type d'action attendue.                          * +*                dark      = indique une préférence pour la variante foncée.  *  *                resources = liste de ressources à constituer. [OUT]          *  *                count     = taille de cette liste. [OUT]                     *  *                                                                             * @@ -1058,13 +1059,13 @@ void g_plugin_module_notify_native_loaded(GPluginModule *plugin, PluginAction ac  *                                                                             *  ******************************************************************************/ -void g_plugin_module_include_theme(const GPluginModule *plugin, PluginAction action, char ***resources, size_t *count) +void g_plugin_module_include_theme(const GPluginModule *plugin, PluginAction action, gboolean dark, char ***resources, size_t *count)  {      GPluginModuleClass *class;              /* Classe de l'instance active */      class = G_PLUGIN_MODULE_GET_CLASS(plugin); -    class->include_theme(plugin, action, resources, count); +    class->include_theme(plugin, action, dark, resources, count);  }  | 
