202
200
/* TODO: find a better way to bind enum to gint */
203
201
g_signal_connect(settings, "changed::glow-type", G_CALLBACK(nexus_plugin_update_glow_type), self);
204
202
nexus_particle_system_set_glow_type(self->priv->ps, g_settings_get_enum(settings, "glow-type"));
205
//g_settings_bind(settings, "glow-type", self->priv->ps, "glow-type", G_SETTINGS_BIND_GET);
203
/* g_settings_bind(settings, "glow-type", self->priv->ps, "glow-type", G_SETTINGS_BIND_GET); */
207
205
g_settings_bind_with_mapping(settings, "color1", self->priv->ps, "color1", G_SETTINGS_BIND_GET,
208
206
lw_color_get_color_mapping, lw_color_set_color_mapping, NULL, NULL);