Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Dec 2007 15:17:48 +0100
From:      Marcin Cieslak <saper@system.pl>
To:        freebsd-openoffice@freebsd.org
Cc:        truckman@FreeBSD.org
Subject:   Re: GLib-GObject-CRITICAL / cannot initialize gtk_recent_manager
Message-ID:  <4756B30C.8090906@system.pl>
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

Can you try this dirty patch?

--- shell/source/unix/sysshell/systemshell.cxx.orig	2007-12-05 
01:05:04.117619430 +0100
+++ shell/source/unix/sysshell/systemshell.cxx	2007-12-05 
02:50:40.620069880 +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);

Yes, I think it should "bool" not "int"


--Marcin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4756B30C.8090906>