Logo Search packages:      
Sourcecode: cairo-dock version File versions

void cairo_dock_stop_measure_timer ( CairoDockMeasure *  pMeasureTimer  ) 

Stoppe les mesures. Si une mesure est en cours, le thread d'acquisition/lecture se terminera tout seul plus tard, et la mesure sera ignoree. On peut reprendre les mesures par un simple cairo_dock_launch_measure.

Parameters:
pMeasureTimer la mesure periodique.

Definition at line 422 of file cairo-dock-applet-facility.c.

{
      if (pMeasureTimer == NULL)
            return ;
      if (pMeasureTimer->iSidTimerRedraw != 0)
      {
            g_source_remove (pMeasureTimer->iSidTimerRedraw);
            pMeasureTimer->iSidTimerRedraw = 0;
      }
      if (pMeasureTimer->iSidTimer!= 0)
      {
            g_source_remove (pMeasureTimer->iSidTimer);
            pMeasureTimer->iSidTimer= 0;
      }
}


Generated by  Doxygen 1.6.0   Back to index