[Libreoffice-commits] core.git: vcl/unx

Stephan Bergmann sbergman at redhat.com
Fri Apr 12 02:51:55 PDT 2013


 vcl/unx/gtk/app/gtkinst.cxx |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

New commits:
commit a5ee2d5a2086594429deb6b2dea0220c2e0f5a5e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Apr 12 11:51:08 2013 +0200

    -Werror=unused
    
    Change-Id: Icab9990a1e4bcbd709f63cb5ef24358441cced8d

diff --git a/vcl/unx/gtk/app/gtkinst.cxx b/vcl/unx/gtk/app/gtkinst.cxx
index 3bc4379..af80678 100644
--- a/vcl/unx/gtk/app/gtkinst.cxx
+++ b/vcl/unx/gtk/app/gtkinst.cxx
@@ -74,7 +74,7 @@ extern "C"
         return true;
     }
 
-    VCLPLUG_GTK_PUBLIC SalInstance* create_SalInstance( oslModule pModule )
+    VCLPLUG_GTK_PUBLIC SalInstance* create_SalInstance( oslModule )
     {
 #if OSL_DEBUG_LEVEL > 1
         fprintf( stderr, "create vcl plugin instance with gtk version %d %d %d\n",
@@ -255,15 +255,6 @@ void GtkInstance::AddToRecentDocumentList(const OUString& rFileUrl, const OUStri
 #endif
 }
 
-/*
- * Obsolete, non-working, and crufty code from the
- * beginning of time. When we update our base platform
- * we should kill this with extreme prejudice.
- */
-#if !GTK_CHECK_VERSION(3,0,0)
-#  define HORRIBLE_OBSOLETE_YIELDMUTEX_IMPL
-#endif
-
 SalInfoPrinter* GtkInstance::CreateInfoPrinter( SalPrinterQueueInfo* pQueueInfo,
     ImplJobSetup* pSetupData )
 {


More information about the Libreoffice-commits mailing list