From 36a245bc11259bf78dd9469d7c37f3ca68073d3d Mon Sep 17 00:00:00 2001 From: Danny Auble <da@llnl.gov> Date: Fri, 29 Sep 2006 22:54:56 +0000 Subject: [PATCH] hopefully a fix to not have assertions on admin mode --- src/sview/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sview/common.c b/src/sview/common.c index 132adf85f88..31358762b4c 100644 --- a/src/sview/common.c +++ b/src/sview/common.c @@ -140,11 +140,13 @@ static void *_editing_thr(gpointer arg) { int msg_id = GPOINTER_TO_INT(arg); sleep(5); + g_static_mutex_lock(&sview_mutex); gdk_threads_enter(); gtk_statusbar_remove(GTK_STATUSBAR(main_statusbar), STATUS_ADMIN_EDIT, msg_id); gdk_flush(); gdk_threads_leave(); + g_static_mutex_unlock(&sview_mutex); return NULL; } -- GitLab