X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fhildon2%2Fmodest-number-editor.h;h=84b1d559ba76f9053ca2df9202f29e2f2dc41ddd;hb=f38e44a913dd73fb507f1084e1bb93aaa3bdbc64;hp=90c063182f2c1b479141694da38de026a18a653b;hpb=e374da56f67092cecb1572dd4bee2ca34e0bc04c;p=modest diff --git a/src/hildon2/modest-number-editor.h b/src/hildon2/modest-number-editor.h index 90c0631..84b1d55 100644 --- a/src/hildon2/modest-number-editor.h +++ b/src/hildon2/modest-number-editor.h @@ -50,9 +50,10 @@ typedef enum struct _ModestNumberEditorClass { - GtkEntryClass parent_class; - - gboolean (*range_error) (ModestNumberEditor *editor, ModestNumberEditorErrorType type); + GtkEntryClass parent_class; + + gboolean (*range_error) (ModestNumberEditor *editor, ModestNumberEditorErrorType type); + void (*valid_changed) (ModestNumberEditor *editor, gboolean valid); }; GType G_GNUC_CONST @@ -73,6 +74,9 @@ void modest_number_editor_set_value (ModestNumberEditor *editor, gint value); +gboolean +modest_number_editor_is_valid (ModestNumberEditor *editor); + GType modest_number_editor_error_type_get_type (void); #define MODEST_TYPE_NUMBER_EDITOR_ERROR_TYPE (modest_number_editor_error_type_get_type())