2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / src / hildon-date-editor.h
index 7748de6..f3c3613 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
  *
  */
 
+#ifndef                                         HILDON_DISABLE_DEPRECATED
+
 #ifndef                                         __HILDON_DATE_EDITOR_H__
 #define                                         __HILDON_DATE_EDITOR_H__
 
-#include                                        <gtk/gtkcontainer.h>
+#include                                        <gtk/gtk.h>
+
 #include                                        "hildon-time-editor.h"
 
 G_BEGIN_DECLS
@@ -63,7 +66,7 @@ struct                                          _HildonDateEditorClass
 {
     GtkContainerClass parent_class;
 
-    gboolean (*date_error) (HildonDateEditor *editor, HildonDateTimeEditorError type);
+    gboolean (*date_error) (HildonDateEditor *editor, HildonDateTimeError type);
 };
 
 GType G_GNUC_CONST
@@ -107,3 +110,5 @@ hildon_date_editor_get_day                      (HildonDateEditor *editor);
 G_END_DECLS
 
 #endif                                          /* __HILDON_DATE_EDITOR_H__ */
+
+#endif                                          /* HILDON_DISABLE_DEPRECATED */