2009-03-24 Alberto Garcia <agarcia@igalia.com>
[hildon] / src / hildon-time-editor.h
index 92e4517..f1f09b9 100644 (file)
@@ -1,14 +1,14 @@
 /*
- * This file is part of hildon-libs
+ * This file is a part of hildon
  *
  * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
  *
- * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+ * Contact: Rodrigo Novo <rodrigo.novo@nokia.com>
  *
  * 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
@@ -22,6 +22,8 @@
  *
  */
 
+#ifndef                                         HILDON_DISABLE_DEPRECATED
+
 #ifndef                                         __HILDON_TIME_EDITOR_H__
 #define                                         __HILDON_TIME_EDITOR_H__
 
@@ -71,7 +73,7 @@ typedef enum
     HILDON_DATE_TIME_ERROR_INVALID_CHAR,
     HILDON_DATE_TIME_ERROR_INVALID_DATE,
     HILDON_DATE_TIME_ERROR_INVALID_TIME
-}                                               HildonDateTimeEditorError;
+}                                               HildonDateTimeError;
 
 typedef struct                                  _HildonTimeEditor HildonTimeEditor;
 
@@ -87,7 +89,7 @@ struct                                          _HildonTimeEditorClass
     GtkContainerClass parent_class;
 
     gboolean (*time_error) (HildonTimeEditor *editor,
-                            HildonDateTimeEditorError type);
+                            HildonDateTimeError type);
 };
 
 GType G_GNUC_CONST
@@ -167,3 +169,5 @@ hildon_time_editor_get_time_separators          (GtkLabel *hm_sep_label,
 G_END_DECLS
 
 #endif                                          /* __HILDON_TIME_EDITOR_H__ */
+
+#endif                                          /* HILDON_DISABLE_DEPRECATED */