aboutsummaryrefslogtreecommitdiff
path: root/hildon/hildon-live-search.c
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2012-01-04 23:58:10 +0100
committerTomasz Sterna <tomek@xiaoka.com>2012-01-24 00:36:01 +0100
commit66b5569ee4af3c6044c8e94b749fe8f22659a24a (patch)
treec3bed53057fe0fa204097f9bca13c8902fa1155e /hildon/hildon-live-search.c
parentdf3f3c11dfadc3d0d191f8a642b407d29fca2084 (diff)
Removed MAEMO_CHANGES and MAEMO_GTK
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");