* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; version 2.1 of
- * the License or any later version.
+ * the License.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
/* This property is set if and only if the input mode
of the password entry has been set to numeric only */
g_object_get(G_OBJECT(hildon_caption_get_control(priv->passwordEntry)),
- "input-mode", &input_mode);
+ "input-mode", &input_mode, NULL);
g_value_set_boolean(value,
(input_mode == HILDON_INPUT_MODE_HINT_NUMERIC));
break;
/* Create password text entry */
control = gtk_entry_new();
+ gtk_entry_set_width_chars (GTK_ENTRY (control), 20);
+
g_object_set (control, "hildon-input-mode", HILDON_GTK_INPUT_MODE_FULL, NULL);
gtk_entry_set_visibility(GTK_ENTRY(control), FALSE);
priv->passwordEntry = HILDON_CAPTION