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

version» Context lines:

pike.git/src/post_modules/GTK2/source/global.pre:58:    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;    } else + #ifdef HAVE_GTK22 +  while(g_main_context_iteration(NULL,0)); + #else    while(g_main_iteration( 0 ) ); -  + #endif   }      static struct callback *backend_cb;   %}   void parse_rc(string rc)   //! Takes a string and reads it as a gtkrc file.   {    char *s;    get_all_args("parse_rc",args,"%s",&s);    gtk_rc_parse_string(s);