pike.git / src / post_modules / GTK2 / source / global.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/global.pre:51:   #endif    return 1;   }      static void backend_callback(struct callback *_cb,    void *arg,    void *backend)   {    if(backend)    { -  struct timeval timeout = current_time; +  struct timeval timeout; +  INACCURATE_GETTIMEOFDAY(&timeout);    timeout.tv_usec += 20000;    if(timeout.tv_usec > 1000000)    {    timeout.tv_usec-=1000000;    timeout.tv_sec+=1;    }    backend_lower_timeout(backend, &timeout);    } else   #ifdef HAVE_GTK22    while(g_main_context_iteration(NULL,0));