2008-08-12 Christian Dywan <christian@imendio.com>
+ * src/hildon-*.c
+ * src/hildon-*.h: Ensure a consistent include order,
+ include <gtk/gtk.h> instead of particular files and
+ only include the topmost header in the gtk stack. See NB #39857
+
+2008-08-12 Christian Dywan <christian@imendio.com>
+
* src/hildon-picker-dialog.c
* src/hildon-touch-selector.c: Fix warnings about unused and
uninitialized variables.
*
*/
+#include <string.h>
+#include <X11/Xatom.h>
+#include <gdk/gdkx.h>
+
#include "hildon-app-menu.h"
#include "hildon-app-menu-private.h"
-#include <gdk/gdkx.h>
-#include <X11/X.h>
-#include <X11/Xatom.h>
-#include <string.h>
-
static GdkWindow *
grab_transfer_window_get (GtkWidget *widget);
#include <config.h>
#endif
-#include "hildon-banner.h"
-#include <gtk/gtkhbox.h>
-#include <gtk/gtkimage.h>
-#include <gtk/gtkicontheme.h>
#include <string.h>
-#include <X11/X.h>
#include <X11/Xatom.h>
-#include "hildon-defines.h"
+#include <X11/X.h>
+#include <gdk/gdkx.h>
+
+#include "hildon-banner.h"
#include "hildon-banner-private.h"
+#include "hildon-defines.h"
/* position relative to the screen */
#ifndef __HILDON_BANNER_H__
#define __HILDON_BANNER_H__
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkprogressbar.h>
-#include <gtk/gtklabel.h>
-#include <gdk/gdkx.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
*/
#include <gdk/gdkkeysyms.h>
+
#include "hildon-marshalers.h"
#include "hildon-bread-crumb-trail.h"
#include "hildon-bread-crumb-widget.h"
#define __HILDON_BREAD_CRUMB_TRAIL_H__
#include <gtk/gtk.h>
+
#include "hildon-bread-crumb.h"
G_BEGIN_DECLS
#ifndef __HILDON_BREAD_CRUMB_WIDGET_H__
#define __HILDON_BREAD_CRUMB_WIDGET_H__
-#include "hildon-bread-crumb.h"
-
#include <gtk/gtk.h>
+#include "hildon-bread-crumb.h"
+
G_BEGIN_DECLS
typedef struct _HildonBreadCrumbWidget HildonBreadCrumbWidget;
#ifndef __HILDON_BREAD_CRUMB_H__
#define __HILDON_BREAD_CRUMB_H__
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include "hildon-button.h"
#include "hildon-enum-types.h"
+#include "hildon-gtk.h"
G_DEFINE_TYPE (HildonButton, hildon_button, GTK_TYPE_BUTTON);
#include <config.h>
#endif
-#include "hildon-calendar-popup.h"
-#include "hildon-calendar.h"
-#include <gtk/gtk.h>
-#include <gdk/gdk.h>
-#include <gdk/gdkkeysyms.h>
#include <langinfo.h>
#include <time.h>
#include <libintl.h>
+
+#include <gtk/gtk.h>
+#include <gdk/gdkkeysyms.h>
+
+#include "hildon-calendar-popup.h"
#include "hildon-calendar-popup-private.h"
+#include "hildon-calendar.h"
#define _(String)\
dgettext("hildon-libs", String)
* standard #GtkCalendar or use #HildonDateEditor for more higher-level date setting
* operations.
*
- */
+ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#define _GNU_SOURCE /* needed for GNU nl_langinfo_l */
+#include <locale.h>
+
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include <stdlib.h>
#include <time.h>
#include <langinfo.h>
-#include <locale.h>
+
#include <glib/gprintf.h>
+#include <gdk/gdkkeysyms.h>
+#include <gtk/gtkprivate.h>
#include "hildon-calendar.h"
#include "hildon-marshalers.h"
-#include <gtk/gtkdnd.h>
-#include <gtk/gtkmain.h>
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkprivate.h>
#include "hildon-calendar-private.h"
/***************************************************************************/
#ifndef __HILDON_CALENDAR_H__
#define __HILDON_CALENDAR_H__
-#include <gdk/gdk.h>
-#include <gtk/gtkwidget.h>
-
-/* Not needed, retained for compatibility -Yosh */
-#include <gtk/gtksignal.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include <config.h>
#endif
-#include "hildon-caption.h"
-#include <gtk/gtkhbox.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkimage.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtkcombo.h>
-#include <gtk/gtkcombobox.h>
-#include <gtk/gtkcomboboxentry.h>
-#include <gtk/gtkoptionmenu.h>
-#include <gtk/gtkmarshal.h>
-#include <gtk/gtkalignment.h>
-#include <gtk/gtkcheckbutton.h>
-#include <stdio.h>
-#include <string.h>
-#include "hildon-defines.h"
#include <libintl.h>
+#include <gtk/gtk.h>
+
+#include "hildon-defines.h"
+#include "hildon-caption.h"
#include "hildon-caption-private.h"
#define _(String)\
#ifndef __HILDON_CAPTION_H__
#define __HILDON_CAPTION_H__
-#include <glib.h>
-#include <glib-object.h>
-#include <gtk/gtkeventbox.h>
-#include <gtk/gtksizegroup.h>
+#include <gtk/gtk.h>
+
#include "hildon-enum-types.h"
G_BEGIN_DECLS
#include <config.h>
#endif
+#include <libintl.h>
+#include <gdk/gdkkeysyms.h>
+
#include "hildon-code-dialog.h"
#include "hildon-defines.h"
#include "hildon-banner.h"
-
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkbutton.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtkicontheme.h>
-#include <gtk/gtktable.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkbbox.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkalignment.h>
-#include <gtk/gtkversion.h>
-#include <libintl.h>
#include "hildon-code-dialog-private.h"
#define HEIGHT (48-HILDON_MARGIN_DEFAULT)
#ifndef __HILDON_CODE_DIALOG_H__
#define __HILDON_CODE_DIALOG_H__
-#include <gtk/gtkdialog.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include <config.h>
#endif
-#include "hildon-color-button.h"
-#include <gtk/gtkbutton.h>
-#include <gtk/gtkalignment.h>
-#include <gtk/gtkdrawingarea.h>
-#include <gtk/gtksignal.h>
#include <gdk/gdkkeysyms.h>
+
+#include "hildon-color-button.h"
#include "hildon-defines.h"
#include "hildon-color-chooser-dialog.h"
#include "hildon-color-button-private.h"
#ifndef __HILDON_COLOR_BUTTON_H__
#define __HILDON_COLOR_BUTTON_H__
-#include <gtk/gtkbutton.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#ifndef __HILDON_COLOR_CHOOSER_DIALOG_PRIVATE_H__
#define __HILDON_COLOR_CHOOSER_DIALOG_PRIVATE_H__
+#include <gconf/gconf-client.h>
+
typedef struct _HildonColorChooserDialogPrivate HildonColorChooserDialogPrivate;
#define HILDON_COLOR_CHOOSER_DIALOG_GET_PRIVATE(obj) \
#include <memory.h>
#include <string.h>
#include <libintl.h>
-#include <gdk/gdk.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtk.h>
-#include <gconf/gconf-client.h>
+
#include "hildon-color-chooser-dialog.h"
#include "hildon-color-chooser.h"
#include "hildon-defines.h"
#ifndef __HILDON_COLOR_CHOOSER_DIALOG_H__
#define __HILDON_COLOR_CHOOSER_DIALOG_H__
-#include <gdk/gdkcolor.h>
-#include <gtk/gtkdialog.h>
+#include <gtk/gtk.h>
#define HILDON_TYPE_COLOR_CHOOSER_DIALOG \
(hildon_color_chooser_dialog_get_type())
*
*/
-#include <gtk/gtk.h>
#include "hildon-color-chooser.h"
#include "hildon-color-chooser-private.h"
#ifndef __HILDON_COLOR_CHOOSER_H__
#define __HILDON_COLOR_CHOOSER_H__
-#include <gdk/gdkcolor.h>
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
#define HILDON_TYPE_COLOR_CHOOSER \
(hildon_color_chooser_get_type())
#include <config.h>
#endif
-#include "hildon-controlbar.h"
#include <math.h>
+#include <libintl.h>
#include <gdk/gdk.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtk.h>
-#include <libintl.h>
+
+#include "hildon-controlbar.h"
#include "hildon-controlbar-private.h"
#define _(string)\
#ifndef __HILDON_CONTROLBAR_H__
#define __HILDON_CONTROLBAR_H__
-#include <gtk/gtkscale.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
*
*/
+#include "hildon-date-button.h"
+#include "hildon-date-selector.h"
+#include "hildon-touch-selector.h"
+
/**
* SECTION:hildon-date-button
* @Short_Description: Button displaying and allowing selection of a date.
* a different date from the selector, this will be shown in the button.
*/
-#include "hildon-date-selector.h"
-#include "hildon-touch-selector.h"
-#include "hildon-picker-button.h"
-#include "hildon-date-button.h"
-
G_DEFINE_TYPE (HildonDateButton, hildon_date_button, HILDON_TYPE_PICKER_BUTTON)
#if 0
#ifndef _HILDON_DATE_BUTTON
#define _HILDON_DATE_BUTTON
-#include <glib-object.h>
+#include <gtk/gtk.h>
+
+#include "hildon-picker-button.h"
G_BEGIN_DECLS
#include <config.h>
#endif
-#include "hildon-date-editor.h"
-#include <glib.h>
-#include <gtk/gtk.h>
-#include <gtk/gtkenums.h>
-#include <gdk/gdkkeysyms.h>
#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <libintl.h>
+#include <gdk/gdkkeysyms.h>
+
+#include "hildon-date-editor.h"
#include "hildon-calendar-popup.h"
#include "hildon-defines.h"
-#include "hildon-private.h"
#include "hildon-marshalers.h"
#include "hildon-enum-types.h"
#include "hildon-time-editor.h"
#include "hildon-banner.h"
-#include <libintl.h>
#include "hildon-date-editor-private.h"
+#include "hildon-private.h"
#define _(string) dgettext("hildon-libs", string)
#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
*
*/
-
-#include "hildon-date-selector.h"
-
#define _GNU_SOURCE /* needed for GNU nl_langinfo_l */
#define __USE_GNU /* needed for locale */
+#include <locale.h>
+
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include <libintl.h>
#include <time.h>
#include <langinfo.h>
-#include <locale.h>
+
+#include "hildon-date-selector.h"
#define HILDON_DATE_SELECTOR_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE ((obj), HILDON_TYPE_DATE_SELECTOR, HildonDateSelectorPrivate))
#include <config.h>
#endif
-#include <gtk/gtk.h>
#include "hildon-defines.h"
/**
#ifndef __HILDON_DIALOG_H__
#define __HILDON_DIALOG_H__
-#include <glib.h>
-#include <glib-object.h>
-#include <gtk/gtkdialog.h>
+#include <gtk/gtk.h>
#include "hildon-defines.h"
* #GtkListStore and can be accesed using a property 'list'. Entries are added
* automatically to the list when the search button is pressed.
*
- */
+ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "hildon-find-toolbar.h"
-#include "hildon-defines.h"
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtkbutton.h>
-#include <gtk/gtktoolbutton.h>
-#include <gtk/gtktoolitem.h>
-#include <gtk/gtkcomboboxentry.h>
-#include <gtk/gtkseparatortoolitem.h>
#include <string.h>
#include <libintl.h>
+#include <gdk/gdkkeysyms.h>
+
+#include "hildon-find-toolbar.h"
+#include "hildon-defines.h"
#include "hildon-find-toolbar-private.h"
#define _(String) \
#ifndef __HILDON_FIND_TOOLBAR_H__
#define __HILDON_FIND_TOOLBAR_H__
-#include <gtk/gtktoolbar.h>
-#include <gtk/gtkliststore.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include <config.h>
#endif
+#include <libintl.h>
#include <stdlib.h>
#include <string.h>
-#include <gtk/gtkstock.h>
-#include <gtk/gtkcombobox.h>
-#include <gtk/gtktogglebutton.h>
-#include <gtk/gtkcheckbutton.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkliststore.h>
-#include <gtk/gtknotebook.h>
-#include <gtk/gtk.h>
+
#include <glib.h>
#include <gdk/gdkkeysyms.h>
+
#include "hildon-font-selection-dialog.h"
#include "hildon-caption.h"
#include "hildon-color-button.h"
-#include <libintl.h>
#include "hildon-font-selection-dialog-private.h"
/* These are what we use as the standard font sizes, for the size list */
#ifndef __HILDON_FONT_SELECTION_DIALOG_H__
#define __HILDON_FONT_SELECTION_DIALOG_H__
-#include <gtk/gtkdialog.h>
-#include <gtk/gtktextbuffer.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include <config.h>
#endif
-#include "hildon-get-password-dialog.h"
-#include <glib.h>
#include <errno.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <stdio.h>
-#include <gtk/gtk.h>
+#include <libintl.h>
+
+#include "hildon-get-password-dialog.h"
#include "hildon-caption.h"
#include "hildon-banner.h"
-#include <libintl.h>
#include "hildon-get-password-dialog-private.h"
#define _(String) dgettext("hildon-libs", String)
#ifndef __HILDON_GET_PASSWORD_DIALOG_H__
#define __HILDON_GET_PASSWORD_DIALOG_H__
-#include <gtk/gtkdialog.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include <config.h>
#endif
-#include <gtk/gtk.h>
#include "hildon-helper.h"
#include "hildon-banner.h"
#ifndef __HILDON_HELPER_H__
#define __HILDON_HELPER_H__
-#include <gtk/gtkwindow.h>
#include <gdk/gdkkeysyms.h>
-#include <gdk/gdkevents.h>
+#include <gtk/gtk.h>
+
#include "hildon-defines.h"
G_BEGIN_DECLS
#include "hildon-volumebar.h"
#include "hildon-volumebar-range.h"
#include "hildon-volumebar-private.h"
-#include <gtk/gtktoolbar.h>
/* Defines for normal version of HVolumebar */
/* Toggle button */
#include <config.h>
#endif
-#include "hildon-login-dialog.h"
-#include <glib.h>
-#include <gtk/gtk.h>
#include <errno.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <stdio.h>
-#include "hildon-caption.h"
#include <libintl.h>
+#include <glib.h>
+
+#include "hildon-login-dialog.h"
+#include "hildon-caption.h"
#include "hildon-login-dialog-private.h"
enum
#ifndef __HILDON_NAME_PASSWORD_DIALOG_H__
#define __HILDON_NAME_PASSWORD_DIALOG_H__
-#include <gtk/gtkdialog.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include <config.h>
#endif
-#include "hildon-note.h"
-#include <gtk/gtklabel.h>
-#include <gtk/gtkimage.h>
-#include <gtk/gtkhbox.h>
-#include <gtk/gtkalignment.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkbutton.h>
+#include <stdio.h>
+#include <string.h>
#include <libintl.h>
+#include <X11/X.h>
+#include <X11/Xatom.h>
+#include <gdk/gdkx.h>
+
+#include "hildon-note.h"
#include "hildon-defines.h"
#include "hildon-sound.h"
#include "hildon-banner.h"
#include "hildon-enum-types.h"
-#include <stdio.h>
-#include <string.h>
-#include <X11/X.h>
-#include <X11/Xatom.h>
#include "hildon-note-private.h"
+
#define CONFIRMATION_SOUND_PATH \
"/usr/share/sounds/ui-confirmation_note.wav"
#ifndef __HILDON_NOTE_H__
#define __HILDON_NOTE_H__
-#include <gtk/gtkdialog.h>
-#include <gtk/gtkprogressbar.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include <config.h>
#endif
-#include "hildon-number-editor.h"
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtk.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
+#include <libintl.h>
+#include <gdk/gdkkeysyms.h>
+
+#include "hildon-number-editor.h"
#include "hildon-marshalers.h"
-#include "hildon-private.h"
#include "hildon-defines.h"
#include "hildon-enum-types.h"
#include "hildon-banner.h"
-#include <libintl.h>
#include "hildon-number-editor-private.h"
+#include "hildon-private.h"
#define _(String) dgettext("hildon-libs", String)
#ifndef __HILDON_NUMBER_EDITOR_H__
#define __HILDON_NUMBER_EDITOR_H__
-#include <gtk/gtkcontainer.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
*
*/
-#include <gdk/gdkx.h>
-#include <cairo.h>
#include <math.h>
+#include <cairo.h>
+#include <gdk/gdkx.h>
+
#include "hildon-pannable-area.h"
#include "hildon-marshalers.h"
#include "hildon-enum-types.h"
#ifndef _HILDON_PANNABLE_AREA
#define _HILDON_PANNABLE_AREA
-#include <glib-object.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS
* and #HildonTimeButton.
*
*/
+
#include "hildon-picker-button.h"
#include "hildon-picker-dialog.h"
#define _HILDON_PICKER_BUTTON
#include <glib-object.h>
+
#include "hildon-button.h"
#include "hildon-touch-selector.h"
#include <string.h>
#include <stdlib.h>
-
#include <libintl.h>
-#include <gtk/gtkmarshal.h>
#include "hildon-touch-selector.h"
#include "hildon-picker-dialog.h"
#endif
#include "hildon-private.h"
-#include <gtk/gtkwidget.h>
-#include <gtk/gtkwindow.h>
#include "hildon-date-editor.h"
#include "hildon-time-editor.h"
#ifndef __HILDON_PROGRAM_PRIVATE_H__
#define __HILDON_PROGRAM_PRIVATE_H__
-#include <glib-object.h>
+#include <gdk/gdkx.h>
+
#include "hildon-window.h"
#include "hildon-stackable-window.h"
#include <config.h>
#endif
+#include <X11/Xatom.h>
+
#include "hildon-program.h"
#include "hildon-program-private.h"
#include "hildon-window-private.h"
-#include "hildon-stackable-window.h"
#include "hildon-stackable-window-private.h"
-#include <X11/Xatom.h>
static void
hildon_program_init (HildonProgram *self);
#define __HILDON_PROGRAM_H__
#include <glib-object.h>
+
#include "hildon-window.h"
#include "hildon-stackable-window.h"
#include <config.h>
#endif
-#include "hildon-range-editor.h"
-#include <gtk/gtkbox.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtksignal.h>
-#include <gtk/gtkentry.h>
-#include <gdk/gdkkeysyms.h>
-#include <glib/gprintf.h>
+#include <libintl.h>
#include <string.h>
#include <stdlib.h>
+#include <glib/gprintf.h>
+#include <gdk/gdkkeysyms.h>
+
+#include "hildon-range-editor.h"
#include "hildon-banner.h"
-#include <libintl.h>
#include "hildon-range-editor-private.h"
#define _(string) \
#ifndef __HILDON_RANGE_EDITOR_H__
#define __HILDON_RANGE_EDITOR_H__
-#include <gtk/gtkcontainer.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include <config.h>
#endif
-#include "hildon-seekbar.h"
#include <libintl.h>
#include <stdio.h>
#include <math.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkframe.h>
-#include <gtk/gtkalignment.h>
-#include <gtk/gtkadjustment.h>
-#include <gtk/gtktoolbar.h>
-#include <gtk/gtkversion.h>
#include <gdk/gdkkeysyms.h>
+
+#include "hildon-seekbar.h"
#include "hildon-seekbar-private.h"
static GtkScaleClass* parent_class = NULL;
#ifndef __HILDON_SEEKBAR_H__
#define __HILDON_SEEKBAR_H__
-#include <gtk/gtkscale.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include <config.h>
#endif
-#include "hildon-set-password-dialog.h"
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtk.h>
-#include <glib.h>
#include <errno.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <stdio.h>
+#include <libintl.h>
+#include <glib.h>
+#include <gdk/gdkkeysyms.h>
+
+#include "hildon-set-password-dialog.h"
#include "hildon-caption.h"
#include "hildon-note.h"
#include "hildon-defines.h"
#include "hildon-banner.h"
-#include <libintl.h>
#include "hildon-set-password-dialog-private.h"
#define HILDON_SET_PASSWORD_DIALOG_TITLE "ecdg_ti_set_password"
#ifndef __HILDON_SET_PASSWORD_DIALOG_H__
#define __HILDON_SET_PASSWORD_DIALOG_H__
-#include <gtk/gtkdialog.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include <config.h>
#endif
-#include "hildon-sort-dialog.h"
#include <stdio.h>
#include <libintl.h>
-#include <gtk/gtkcombobox.h>
-#include <gtk/gtkbox.h>
+
+#include "hildon-sort-dialog.h"
#include "hildon-caption.h"
#include "hildon-sort-dialog-private.h"
#ifndef __HILDON_SORT_DIALOG_H__
#define __HILDON_SORT_DIALOG_H__
-#include <gtk/gtkdialog.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
*
*/
-#include "hildon-sound.h"
+#include <unistd.h>
#include <gconf/gconf-client.h>
#include <canberra.h>
-#include <unistd.h>
+
+#include "hildon-sound.h"
#define ALARM_GCONF_PATH "/apps/osso/sound/system_alert_volume"
#include <X11/X.h>
#include <X11/Xatom.h>
+
#include "hildon-stackable-window.h"
#include "hildon-stackable-window-private.h"
#include "hildon-program.h"
#include <config.h>
#endif
-#include "hildon-time-editor.h"
-#include <gtk/gtkhbox.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtkbutton.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkframe.h>
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkenums.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>
#include <langinfo.h>
#include <libintl.h>
+#include <gdk/gdkkeysyms.h>
+
+#include "hildon-time-editor.h"
#include "hildon-defines.h"
#include "hildon-time-picker.h"
#include "hildon-banner.h"
#include <config.h>
#endif
-#include "hildon-time-picker.h"
-#include "hildon-defines.h"
-#include <gtk/gtk.h>
-#include <gdk/gdkkeysyms.h>
-#include <gdk/gdk.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <langinfo.h>
#include <libintl.h>
+#include <gtk/gtk.h>
+#include <gdk/gdkkeysyms.h>
+
+#include "hildon-time-picker.h"
+#include "hildon-defines.h"
#include "hildon-time-picker-private.h"
#include "hildon-time-editor.h"
#ifndef __HILDON_TIME_PICKER_H__
#define __HILDON_TIME_PICKER_H__
-#include <gtk/gtkdialog.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
*
*/
-
-#include "hildon-time-selector.h"
-
#define _GNU_SOURCE /* needed for GNU nl_langinfo_l */
#define __USE_GNU /* needed for locale */
#include <time.h>
#include <langinfo.h>
#include <locale.h>
-
#include <gconf/gconf-client.h>
+#include "hildon-time-selector.h"
+
#define HILDON_TIME_SELECTOR_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE ((obj), HILDON_TYPE_TIME_SELECTOR, HildonTimeSelectorPrivate))
#ifndef _HILDON_TOUCH_SELECTOR_ENTRY
#define _HILDON_TOUCH_SELECTOR_ENTRY
-#include <glib-object.h>
#include "hildon-touch-selector.h"
G_BEGIN_DECLS
#include <string.h>
#include <stdlib.h>
+
#include "hildon-pannable-area.h"
#include "hildon-touch-selector.h"
#define __HILDON_VOLUMEBAR_PRIVATE__
#include <gtk/gtk.h>
+
#include "hildon-volumebar-range.h"
G_BEGIN_DECLS
*
*/
-#include "hildon-volumebar-range.h"
-#include <gtk/gtkrange.h>
#include <gdk/gdkkeysyms.h>
+#include "hildon-volumebar-range.h"
+
#define VOLUMEBAR_RANGE_INITIAL_VALUE 50.0
#define VOLUMEBAR_RANGE_MINIMUM_VALUE 0.0
#ifndef __HILDON_VOLUMEBAR_RANGE_H__
#define __HILDON_VOLUMEBAR_RANGE_H__
-#include <gtk/gtkscale.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include <config.h>
#endif
-#include "hildon-volumebar.h"
-#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
+
+#include "hildon-volumebar.h"
#include "hildon-volumebar-range.h"
#include "hildon-volumebar-private.h"
#ifndef __HILDON_VOLUMEBAR_H__
#define __HILDON_VOLUMEBAR_H__
-#include <gtk/gtkcontainer.h>
-#include <gtk/gtkadjustment.h>
+#include <gtk/gtk.h>
+
#include "hildon-helper.h"
G_BEGIN_DECLS
#endif
#include "hildon-vvolumebar.h"
-#include <gtk/gtk.h>
#include "hildon-volumebar-range.h"
#include "hildon-volumebar-private.h"
#include <config.h>
#endif
-#include "hildon-weekday-picker.h"
#include <stdio.h>
#include <stdarg.h>
#include <sys/types.h>
#include <libintl.h>
#include <langinfo.h>
#include <time.h>
-#include <gtk/gtksignal.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtktogglebutton.h>
-#include <gtk/gtksizegroup.h>
-#include <gtk/gtkwindow.h>
+
+#include "hildon-weekday-picker.h"
#include "hildon-private.h"
#include "hildon-weekday-picker-private.h"
#ifndef __HILDON_WEEKDAY_PICKER_H__
#define __HILDON_WEEKDAY_PICKER_H__
-#include <gtk/gtkcontainer.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#ifndef __HILDON_WINDOW_PRIVATE_H__
#define __HILDON_WINDOW_PRIVATE_H__
+#include "hildon-program.h"
+
+#include <X11/Xlib.h>
+
G_BEGIN_DECLS
typedef struct _HildonWindowPrivate HildonWindowPrivate;
*
*/
-#include "hildon-window.h"
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <stdio.h>
-#include "hildon-program.h"
-#include "hildon-window-private.h"
-#include "hildon-find-toolbar.h"
-
-#include <gtk/gtkmenu.h>
-#include <gtk/gtkimcontext.h>
-#include <gtk/gtkmenuitem.h>
-#include <gtk/gtkcheckmenuitem.h>
-#include <gtk/gtkmenushell.h>
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkwidget.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtktextview.h>
-#include <gtk/gtkscrolledwindow.h>
-#include <gtk/gtkmain.h>
-#include <gdk/gdkkeysyms.h>
-#include <gdk/gdk.h>
-#include <gtk/gtkprivate.h>
+#include <libintl.h>
#include <X11/X.h>
-#include <X11/Xlib.h>
#include <X11/Xatom.h>
-#include <libintl.h>
+#include <gdk/gdkkeysyms.h>
+#include <gdk/gdkx.h>
+#include <gtk/gtkprivate.h>
+
+#include "hildon-window.h"
+#include "hildon-window-private.h"
+#include "hildon-find-toolbar.h"
+#include "hildon-defines.h"
#define _(String) gettext(String)
#ifndef __HILDON_WINDOW_H__
#define __HILDON_WINDOW_H__
-#include <glib.h>
-#include <glib-object.h>
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkmenu.h>
-#include <gtk/gtktoolbar.h>
-#include <gdk/gdkx.h>
-
-#include "hildon-defines.h"
+#include <gtk/gtk.h>
G_BEGIN_DECLS
#include <config.h>
#endif
+#include <libintl.h>
+
#include "hildon-wizard-dialog.h"
-#include <gtk/gtkdialog.h>
-#include <gtk/gtknotebook.h>
-#include <gtk/gtkimage.h>
-#include <gtk/gtkbox.h>
-#include <gtk/gtkhbox.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkbutton.h>
#include "hildon-defines.h"
-#include <libintl.h>
#include "hildon-wizard-dialog-private.h"
#define _(String) dgettext("hildon-libs", String)
#ifndef __HILDON_WIZARD_DIALOG_H__
#define __HILDON_WIZARD_DIALOG_H__
-#include <gtk/gtkwidget.h>
-#include <gtk/gtkwindow.h>
-#include <gtk/gtknotebook.h>
-#include <gtk/gtkdialog.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS