diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-05-30 09:49:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-05-30 11:16:51 +0100 |
commit | cd34f76d4ef7371892be4b8970a45d2d3e81e9db (patch) | |
tree | b3801128325e5f3a17e13957b83998c862129c29 /vcl | |
parent | 20ad9893d5d3be13d8aa17764e483afaa083b5c0 (diff) |
this signalIMPreeditChanged is a cnp from gtk2 impl
Change-Id: Ib2e624af2e07b28a2e2ca0e3a0a16f3fe453aeaa
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkframe.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx index 0bb9bf740416..bac7584b46ec 100644 --- a/vcl/unx/gtk3/gtk3gtkframe.cxx +++ b/vcl/unx/gtk3/gtk3gtkframe.cxx @@ -3694,7 +3694,7 @@ static bool checkSingleKeyCommitHack( guint keyval, sal_Unicode cCode ) return bRet; } -void GtkSalFrame::IMHandler::signalIMCommit( GtkIMContext* pContext, gchar* pText, gpointer im_handler ) +void GtkSalFrame::IMHandler::signalIMCommit( GtkIMContext* /*pContext*/, gchar* pText, gpointer im_handler ) { GtkSalFrame::IMHandler* pThis = static_cast<GtkSalFrame::IMHandler*>(im_handler); @@ -3755,15 +3755,6 @@ void GtkSalFrame::IMHandler::signalIMCommit( GtkIMContext* pContext, gchar* pTex pThis->updateIMSpotLocation(); } } -#ifdef SOLARIS - // #i51356# workaround a solaris IIIMP bug - // in case of partial commits the preedit changed signal - // and commit signal come in wrong order - if( ! aDel.isDeleted() ) - signalIMPreeditChanged( pContext, im_handler ); -#else - (void) pContext; -#endif } void GtkSalFrame::IMHandler::signalIMPreeditChanged( GtkIMContext*, gpointer im_handler ) |