aboutsummaryrefslogtreecommitdiff
path: root/hildon/hildon-text-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'hildon/hildon-text-view.c')
-rw-r--r--hildon/hildon-text-view.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/hildon/hildon-text-view.c b/hildon/hildon-text-view.c
index 4013c73..4a82cf3 100644
--- a/hildon/hildon-text-view.c
+++ b/hildon/hildon-text-view.c
@@ -93,11 +93,7 @@ hildon_text_view_button_press_event (GtkWidget *widget,
gtk_widget_grab_focus (widget);
- if (GTK_TEXT_VIEW (widget)->editable
-#ifdef MAEMO_GTK
- && hildon_gtk_im_context_filter_event (GTK_TEXT_VIEW (widget)->im_context, (GdkEvent*)event)
-#endif
- )
+ if (GTK_TEXT_VIEW (widget)->editable)
{
GTK_TEXT_VIEW (widget)->need_im_reset = TRUE;
return TRUE;
@@ -147,11 +143,7 @@ hildon_text_view_button_release_event (GtkWidget *widget,
GtkTextIter iter;
gint x, y;
- if (text_view->editable
-#ifdef MAEMO_GTK
- && hildon_gtk_im_context_filter_event (text_view->im_context, (GdkEvent*)event)
-#endif
- )
+ if (text_view->editable)
{
text_view->need_im_reset = TRUE;
return TRUE;