Hi,
Recently I am writting a multi-thread program, which is a comunication
application.
In this program I need to display all received messages on a CList control.
Because the messages are successive coming in, I have to remove the old
messages in this CList control continuously. However,
Hi,
Recently I am writting a multi-thread program, which is a comunication
application.
In this program I need to display all received messages on a CList control.
Because the messages are successive coming in, I have to remove the old
messages in this CList control continuously. However,
t_remove(GTK_CLIST(Clist_CommStatus), NROW - 2000);
gdk_flush();
gdk_threads_leave();
NROW --;
}
}
Unfortunately, the error "Xlib: unexpected async reply" still exists.
: Stefan Kost <[EMAIL PROTECTED]>
To: jacky618 jacky618 <[EMAIL PROTECTED]>
CC: gtk-app-devel-list@gnome.or
Hi,
I have resolved this problem after add gdk_threads_*() to all timer
callback functions as following :
gdk_threads_enter();
.
.
gdk_threads_leave();
Regards
Rill
//--
gdk_threads_enter();
g