X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fhildon-time-editor.c;h=f2f7f4f9a34b9a69abf19057a2fae37536b58391;hb=7cc18180942701cf067dbfe71991afe9315c7485;hp=dde8dbb23725ca37455086a29567886465791913;hpb=9f020e423948398300acece345cc67168e61a73a;p=hildon diff --git a/src/hildon-time-editor.c b/src/hildon-time-editor.c index dde8dbb..f2f7f4f 100644 --- a/src/hildon-time-editor.c +++ b/src/hildon-time-editor.c @@ -61,6 +61,7 @@ #include #include #include +#include #include #include #include @@ -69,7 +70,6 @@ #include "hildon-defines.h" #include "hildon-time-picker.h" #include "hildon-banner.h" -#include "hildon-input-mode-hint.h" #include "hildon-private.h" #include "hildon-marshalers.h" #include "hildon-enum-types.h" @@ -533,7 +533,7 @@ hildon_time_editor_init (HildonTimeEditor *editor) gtk_entry_set_has_frame (GTK_ENTRY (priv->entries[i]), FALSE); /* Set the entries to accept only numeric characters */ - g_object_set (priv->entries[i], "input-mode", HILDON_INPUT_MODE_HINT_NUMERIC, NULL); + g_object_set (priv->entries[i], "input-mode", HILDON_GTK_INPUT_MODE_NUMERIC, NULL); /* The entry fields all take exactly two characters */ gtk_entry_set_max_length (GTK_ENTRY (priv->entries[i]), 2);