summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-04-12 11:51:08 +0200
committerMichael Meeks <michael.meeks@suse.com>2013-04-12 13:41:12 +0100
commit73c96cce032b7a55b2f6d724661d811c5e751b65 (patch)
treed508f5b5ab00a8e74eaca11ba2909dae38770a92
parentRemove GtkHookedYieldMutex and some small changes. (diff)
downloadcore-73c96cce032b7a55b2f6d724661d811c5e751b65.tar.gz
core-73c96cce032b7a55b2f6d724661d811c5e751b65.zip
-Werror=unused
Change-Id: Icab9990a1e4bcbd709f63cb5ef24358441cced8d
-rw-r--r--vcl/unx/gtk/app/gtkinst.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/vcl/unx/gtk/app/gtkinst.cxx b/vcl/unx/gtk/app/gtkinst.cxx
index 3bc4379a5caa..af80678a8829 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 )
{