summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/gtkinst.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-09-05 20:27:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-06 08:48:52 +0100
commit2923907cbdc68b5723a00b92cbf6b6845c3c77f8 (patch)
treea7d96808879db462688480dda7181e3cb986b195 /vcl/unx/gtk/gtkinst.cxx
parentd2038058c0568041e1722e877aae2825931a8745 (diff)
GtkInstance should use default no-op I18NImeStatus
gtk3 already did, gtk2 claimed to support it, but will use the built-in gtk support for this. So this leaves this as gen/kde4 only now. Change-Id: I640ffafc93bf45a4729ecd33f0f85f23fa67b4bf
Diffstat (limited to 'vcl/unx/gtk/gtkinst.cxx')
-rw-r--r--vcl/unx/gtk/gtkinst.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/unx/gtk/gtkinst.cxx b/vcl/unx/gtk/gtkinst.cxx
index c131721a00c6..014ea7c2ff1e 100644
--- a/vcl/unx/gtk/gtkinst.cxx
+++ b/vcl/unx/gtk/gtkinst.cxx
@@ -232,6 +232,14 @@ SalObject* GtkInstance::CreateObject( SalFrame* pParent, SystemWindowData* pWind
return new GtkSalObject( static_cast<GtkSalFrame*>(pParent), bShow );
}
+SalI18NImeStatus* GtkInstance::CreateI18NImeStatus()
+{
+ //we want the default SalInstance::CreateI18NImeStatus returns the no-op
+ //stub here, not the X11Instance::CreateI18NImeStatus which the gtk2
+ //one would use otherwise
+ return SalInstance::CreateI18NImeStatus();
+}
+
extern "C"
{
typedef void*(* getDefaultFnc)();