2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / src / hildon-color-chooser-dialog.h
index ea5d201..cb51d00 100644 (file)
@@ -4,12 +4,12 @@
  * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
  *
  * Author: Kuisma Salonen <kuisma.salonen@nokia.com>
- * 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
  *
  */
 
+#ifndef                                         HILDON_DISABLE_DEPRECATED
+
 #ifndef                                         __HILDON_COLOR_CHOOSER_DIALOG_H__
 #define                                         __HILDON_COLOR_CHOOSER_DIALOG_H__
 
-#include                                        <gdk/gdkcolor.h>
-#include                                        <gtk/gtkdialog.h>
+#include                                        <gtk/gtk.h>
+
+G_BEGIN_DECLS
 
 #define                                         HILDON_TYPE_COLOR_CHOOSER_DIALOG \
                                                 (hildon_color_chooser_dialog_get_type())
@@ -67,11 +70,15 @@ GtkWidget*
 hildon_color_chooser_dialog_new                 (void);
 
 void
-hildon_color_chooser_dialog_set_color           (HildonColorChooserDialog *chooser, 
+hildon_color_chooser_dialog_set_color           (HildonColorChooserDialog *dialog, 
                                                  GdkColor *color);
 
 void
-hildon_color_chooser_dialog_get_color           (HildonColorChooserDialog *chooser,
+hildon_color_chooser_dialog_get_color           (HildonColorChooserDialog *dialog,
                                                  GdkColor *color);
 
+G_END_DECLS
+
 #endif                                          /* __HILDON_COLOR_CHOOSER_DIALOG_H__ */
+
+#endif                                          /* HILDON_DISABLE_DEPRECATED */