GLib-GObject-CRITICAL / cannot initialize gtk_recent_manager

Alexey Shuvaev shuvaev at physik.uni-wuerzburg.de
Thu Dec 6 01:51:11 PST 2007


Hello!

I recompiled the OOo-2 with your patch and now it seems to be working.

Thanks!
-------------- next part --------------
--- 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);


More information about the freebsd-openoffice mailing list