aboutsummaryrefslogtreecommitdiff
path: root/hildon/hildon-live-search.c
diff options
context:
space:
mode:
Diffstat (limited to 'hildon/hildon-live-search.c')
-rw-r--r--hildon/hildon-live-search.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/hildon/hildon-live-search.c b/hildon/hildon-live-search.c
index 70b2f21..c626b62 100644
--- a/hildon/hildon-live-search.c
+++ b/hildon/hildon-live-search.c
@@ -768,15 +768,6 @@ close_button_clicked_cb (GtkWidget *button,
gtk_widget_hide (GTK_WIDGET (user_data));
}
-#ifdef MAEMO_GTK
-static HildonGtkInputMode
-filter_input_mode (HildonGtkInputMode imode)
-{
- return imode & ~(HILDON_GTK_INPUT_MODE_AUTOCAP |
- HILDON_GTK_INPUT_MODE_DICTIONARY);
-}
-#endif
-
static void
hildon_live_search_init (HildonLiveSearch *self)
{
@@ -787,9 +778,6 @@ hildon_live_search_init (HildonLiveSearch *self)
GtkToolItem *close_button;
GtkToolItem *entry_container;
GtkWidget *entry_hbox;
-#ifdef MAEMO_GTK
- HildonGtkInputMode imode;
-#endif
self->priv = priv = GET_PRIVATE (self);
gtk_toolbar_set_style (GTK_TOOLBAR (self), GTK_TOOLBAR_ICONS);
@@ -817,13 +805,6 @@ hildon_live_search_init (HildonLiveSearch *self)
priv->entry = hildon_entry_new (HILDON_SIZE_FINGER_HEIGHT);
-#ifdef MAEMO_GTK
- /* Unset the autocap and dictionary input flags from the
- HildonEntry. */
- imode = hildon_gtk_entry_get_input_mode (GTK_ENTRY (priv->entry));
- hildon_gtk_entry_set_input_mode (GTK_ENTRY (priv->entry),
- filter_input_mode (imode));
-#endif
gtk_widget_set_name (GTK_WIDGET (priv->entry),
"HildonLiveSearchEntry");