threads and GtkTreeView's
- From: Mariano Suarez-Alvarez <msuarezalvarez arnet com ar>
- To: gtk-list -- General discussion on GTK+ <gtk-list gnome org>
- Subject: threads and GtkTreeView's
- Date: Wed, 26 Mar 2003 18:10:38 -0300 (ART)
I'm trying to set up a thread to insert data into a GtkListStore. Right now,
my program segfaults randomly (mostly inside pango functions) and that is
due, I think, to the fact that the GtkTreeView is reading the ListStore
while the other thread is modifying it.
Is there any way to have the GtkTreeView use a lock on the ListStore?
-- m
-----------------------------------------------------------------------
Mariano Suarez Alvarez
Departamento de Matematica - Universidad Nacional de Rosario
Pellegrini 250 - Rosario 2000 - Argentina
De la observacion de la irreductibilidad de las creencias ultimas
he sacado la mayor leccion de mi vida. Aprendi a respetar las ideas
ajenas, a detenerme ante el secreto de las conciencias, a entender
antes de discutir, a discutir antes de condenar. Y como estoy en
vena de confesiones, hago una mas, quizas superflua: detesto con
toda mi alma a los fanaticos.
Norberto Bobbio, Italia civil.
-----------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]