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

version» Context lines:

pike.git/src/post_modules/GTK2/source/global.pre:44:   #endif   #ifdef PANGO_TYPE_FONT_DESCRIPTION    if ((X)==ppango2_font_description_program)    return 0;   #endif    return 1;   }      static void backend_callback(struct callback *_cb,    void *arg, -  void *post_select) +  void *backend)   { -  if( !post_select ) +  if(backend)    {    struct timeval timeout = current_time;    timeout.tv_usec += 20000;    if(timeout.tv_usec > 1000000)    {    timeout.tv_usec-=1000000;    timeout.tv_sec+=1;    } -  if (my_timercmp (&timeout, <, &next_timeout)) -  next_timeout = timeout; +  backend_lower_timeout(backend, &timeout);    } else   #ifdef HAVE_GTK22    while(g_main_context_iteration(NULL,0));   #else    while(g_main_iteration( 0 ) );   #endif   }      static struct callback *backend_cb;   %}