Re: I cannnot update progressbar..



g_main_iteration() is part of GLib. Use
glib-config --version to find which version of that you have.

You may have old header files lying about. In 1.2.8 it is defined:

gboolean g_main_iteration(gboolean may_block);

in glib.h

-tony


On 16-Jan-2001 Naoko Shimakawa wrote:
> Hi, Trog.
> 
> Trog <trog gtk org> wrote:
> 
>> 
>> The command:
>>  gtk-config --version
>> 
>> should give you the version.
> 
> Thank you !
> My gtk version is 1.2.8.
> The lastest version, isn't it?
> But why I cannot use:
>     while (g_main_iteration(FALSE));
> ?
> 
>> You can use:
>> 
>>    while(gtk_events_pending())
>>      gtk_main_iteration();
>> 
>> on older versions of GTK.
> 
> I can use this coding....mmmmm...
> 
> ----------------------------------
> Naoko Shimakawa
> simakawa ssd sony co jp

---
E-Mail: trog gtk org
He who laughs, lasts.

Go Bezerk! http://www.gtk.org/~trog




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]