summaryrefslogtreecommitdiffstats
path: root/src/text-context.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-01-03 00:07:54 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-01-03 00:07:54 +0000
commitc0ae0bee37a04c6e79dbe0de00f173c80917ffbe (patch)
tree175bfaf44d18be4d17ebd3803cb0ec7314c2e37e /src/text-context.cpp
parentadd buttons for node adding at extrema (diff)
downloadinkscape-c0ae0bee37a04c6e79dbe0de00f173c80917ffbe.tar.gz
inkscape-c0ae0bee37a04c6e79dbe0de00f173c80917ffbe.zip
Cleanup GSEAL issues and deprecated GtkTooltips
(bzr r10826)
Diffstat (limited to 'src/text-context.cpp')
-rw-r--r--src/text-context.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/text-context.cpp b/src/text-context.cpp
index d2bf8c5f5..e3ddb8cca 100644
--- a/src/text-context.cpp
+++ b/src/text-context.cpp
@@ -228,7 +228,8 @@ sp_text_context_setup(SPEventContext *ec)
* entered.
*/
gtk_im_context_set_use_preedit(tc->imc, FALSE);
- gtk_im_context_set_client_window(tc->imc, canvas->window);
+ gtk_im_context_set_client_window(tc->imc,
+ gtk_widget_get_window (canvas));
g_signal_connect(G_OBJECT(canvas), "focus_in_event", G_CALLBACK(sptc_focus_in), tc);
g_signal_connect(G_OBJECT(canvas), "focus_out_event", G_CALLBACK(sptc_focus_out), tc);