~aurelien-riv/livewallpaper/snap

« back to all changes in this revision

Viewing changes to plugins/nexus/src/nexus.c

  • Committer: Aurélien RIVIÈRE
  • Date: 2012-08-28 19:56:47 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: aurelien.riv@gmail.com-20120828195647-ejhhshrh5fsyumuu
config manager added

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
{
40
40
    PROP_0,
41
41
 
42
 
        
43
 
 
44
42
    N_PROPERTIES
45
43
};
46
44
 
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); */
206
204
 
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);