Date: Thu, 6 Dec 2007 10:51:04 +0100 From: "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de> To: Marcin Cieslak <saper@system.pl> Cc: freebsd-openoffice@freebsd.org Subject: Re: GLib-GObject-CRITICAL / cannot initialize gtk_recent_manager Message-ID: <20071206095104.GA22563@wep4017.physik.uni-wuerzburg.de> In-Reply-To: <4755F1DA.9080307@system.pl> References: <20071122154449.GA67968@wep4017.physik.uni-wuerzburg.de> <4755F1DA.9080307@system.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071206095104.GA22563>