~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to icon-effect/src/applet-storm.c

  • Committer: Matthieu Baerts
  • Date: 2012-09-26 00:22:19 UTC
  • Revision ID: matttbe@gmail.com-20120926002219-e8afhgt27f5n3buw
Compilation: fixed a lot of warnings during the compilation (mostly 'unused-variable') - Part 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        if (myConfig.bRotateEffects && ! pDock->container.bDirectionUp && pDock->container.bIsHorizontal)
48
48
                pParticleSystem->bDirectionUp = FALSE;
49
49
        
50
 
        static double epsilon = 0.1;
51
50
        double r = myConfig.iStormParticleSize;
52
51
        double vmax = 1. / myConfig.iStormDuration * 2;
53
52
        double fBlend;
89
88
static gboolean _update_storm_system (CairoParticleSystem *pParticleSystem, CairoDockRewindParticleFunc pRewindParticle)
90
89
{
91
90
        gboolean bAllParticlesEnded = TRUE;
92
 
        double x;
93
91
        CairoParticle *p;
94
92
        int i;
95
93
        for (i = 0; i < pParticleSystem->iNbParticles; i ++)