From owner-freebsd-openoffice@FreeBSD.ORG Thu Dec 6 09:51:11 2007 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42AD416A419 for ; Thu, 6 Dec 2007 09:51:11 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id C31FD13C447 for ; Thu, 6 Dec 2007 09:51:10 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 52CF0C18A; Thu, 6 Dec 2007 10:51:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 43D6710043; Thu, 6 Dec 2007 10:51:09 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wptd92.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id D34CA1003D; Thu, 6 Dec 2007 10:51:05 +0100 (CET) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 7.0.3) with ESMTP id 2007120610510501-11682 ; Thu, 6 Dec 2007 10:51:05 +0100 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Thu, 6 Dec 2007 10:51:05 +0100 From: "Alexey Shuvaev" Date: Thu, 6 Dec 2007 10:51:04 +0100 To: Marcin Cieslak Message-ID: <20071206095104.GA22563@wep4017.physik.uni-wuerzburg.de> References: <20071122154449.GA67968@wep4017.physik.uni-wuerzburg.de> <4755F1DA.9080307@system.pl> MIME-Version: 1.0 In-Reply-To: <4755F1DA.9080307@system.pl> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.16 (2007-06-09) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 7.0.3|September 26, 2007) at 12/06/2007 10:51:05, Serialize by Router on domino1/uni-wuerzburg(Release 7.0.3|September 26, 2007) at 12/06/2007 10:51:08, Serialize complete at 12/06/2007 10:51:08 Content-Type: multipart/mixed; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-openoffice@freebsd.org Subject: Re: GLib-GObject-CRITICAL / cannot initialize gtk_recent_manager X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2007 09:51:11 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello! I recompiled the OOo-2 with your patch and now it seems to be working. Thanks! --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-local-2 --- shell/source/unix/sysshell/systemshell.cxx.orig 2007-06-19 18:12:44.000000000 +0200 +++ shell/source/unix/sysshell/systemshell.cxx 2007-12-05 17:28:49.000000000 +0100 @@ -126,14 +126,15 @@ } bool ret = (NULL != sym_gtk_recent_manager_get_default) && (NULL != sym_gtk_recent_manager_add_item); - return ret; + return 0; } //############################## void AddToRecentDocumentList(const rtl::OUString& aFileUrl, const rtl::OUString& aMimeType) { - static bool bIsRecentManagerPresent = init_recent_manager_api(); + // static bool bIsRecentManagerPresent = init_recent_manager_api(); + static bool bIsRecentManagerPresent = 0; // Convert file URL for external use (see above) rtl::OUString externalUrl = translateToExternalUrl(aFileUrl); --x+6KMIRAuhnl3hBn--