More checks for the case where the overshoot is bigger than the size of the widget.
[hildon] / src / hildon-number-editor.h
index 2257caa..ae4c5a6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This file is part of hildon-libs
+ * This file is a part of hildon
  *
  * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
  *
@@ -8,7 +8,7 @@
  * 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.
+ * the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -57,12 +57,11 @@ struct                                          _HildonNumberEditor
     GtkContainer parent;
 };
 
-/* FIXME Needs documentation */
 typedef enum
 {
-    MAXIMUM_VALUE_EXCEED,
-    MINIMUM_VALUE_EXCEED,
-    ERRONEOUS_VALUE
+    HILDON_NUMBER_EDITOR_ERROR_MAXIMUM_VALUE_EXCEED,
+    HILDON_NUMBER_EDITOR_ERROR_MINIMUM_VALUE_EXCEED,
+    HILDON_NUMBER_EDITOR_ERROR_ERRONEOUS_VALUE
 }                                               HildonNumberEditorErrorType;
 
 struct                                          _HildonNumberEditorClass