From owner-freebsd-gnome@FreeBSD.ORG Mon Sep 6 23:05:43 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3675416A4CE; Mon, 6 Sep 2004 23:05:43 +0000 (GMT) Received: from gateway.lefort.net (212.68.242.203.brutele.be [212.68.242.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55F2443D39; Mon, 6 Sep 2004 23:05:42 +0000 (GMT) (envelope-from jylefort@brutele.be) Received: from jsite.lefort.net (jsite.lefort.net [192.168.1.2]) by gateway.lefort.net (Postfix) with ESMTP id 8744A54CE; Tue, 7 Sep 2004 01:05:40 +0200 (CEST) Received: by jsite.lefort.net (Postfix, from userid 1000) id 49B4A22E20; Tue, 7 Sep 2004 01:05:40 +0200 (CEST) To: FreeBSD-gnats-submit@freebsd.org From: Jean-Yves Lefort X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20040906230540.49B4A22E20@jsite.lefort.net> Date: Tue, 7 Sep 2004 01:05:40 +0200 (CEST) cc: gnome@FreeBSD.org Subject: Fix port: x11-toolkits/libgnomeui (multi-threading fix) X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jean-Yves Lefort List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 23:05:43 -0000 >Submitter-Id: current-users >Originator: Jean-Yves Lefort >Organization: >Confidential: no >Synopsis: Fix port: x11-toolkits/libgnomeui (multi-threading fix) >Severity: serious >Priority: medium >Category: ports >Class: update >Release: FreeBSD 4.10-RELEASE i386 >Environment: System: FreeBSD jsite.lefort.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu Jul 1 14:25:43 CEST 2004 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386 >Description: See http://bugzilla.gnome.org/show_bug.cgi?id=152023. Patch is attached here for your convenience. >How-To-Repeat: >Fix: --- libgnomeui/gnome-ice.c.orig Tue Sep 7 00:48:38 2004 +++ libgnomeui/gnome-ice.c Tue Sep 7 00:49:05 2004 @@ -54,6 +54,8 @@ IceConn connection = (IceConn) data; IceProcessMessagesStatus status; + GDK_THREADS_ENTER(); + status = IceProcessMessages (connection, NULL, NULL); if (status == IceProcessMessagesIOError) @@ -73,6 +75,8 @@ IceCloseConnection (connection); } } + + GDK_THREADS_LEAVE(); return TRUE; }