aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-06-06 23:12:53 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-06-06 23:12:53 +0800
commit4503c052d04822edb3105e639b824ed88013a810 (patch)
treea158d5a45ad252370444729fa5ae97bd17362669 /calendar/gui/dialogs
parent6efe8d58cdb61225ce942181d0d2a0ae3227ed5f (diff)
downloadgsoc2013-evolution-4503c052d04822edb3105e639b824ed88013a810.tar.gz
gsoc2013-evolution-4503c052d04822edb3105e639b824ed88013a810.tar.zst
gsoc2013-evolution-4503c052d04822edb3105e639b824ed88013a810.zip
** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/alarm-dialog.c13
-rw-r--r--calendar/gui/dialogs/alarm-list-dialog.c8
-rw-r--r--calendar/gui/dialogs/cal-attachment-select-file.c10
-rw-r--r--calendar/gui/dialogs/calendar-setup.c5
-rw-r--r--calendar/gui/dialogs/cancel-comp.c3
-rw-r--r--calendar/gui/dialogs/changed-comp.c2
-rw-r--r--calendar/gui/dialogs/changed-comp.h3
-rw-r--r--calendar/gui/dialogs/comp-editor-page.c2
-rw-r--r--calendar/gui/dialogs/comp-editor-page.h2
-rw-r--r--calendar/gui/dialogs/comp-editor-util.c2
-rw-r--r--calendar/gui/dialogs/comp-editor-util.h2
-rw-r--r--calendar/gui/dialogs/comp-editor.c4
-rw-r--r--calendar/gui/dialogs/copy-source-dialog.c1
-rw-r--r--calendar/gui/dialogs/copy-source-dialog.h2
-rw-r--r--calendar/gui/dialogs/delete-comp.c4
-rw-r--r--calendar/gui/dialogs/delete-comp.h2
-rw-r--r--calendar/gui/dialogs/delete-error.c3
-rw-r--r--calendar/gui/dialogs/e-delegate-dialog.c6
-rw-r--r--calendar/gui/dialogs/e-delegate-dialog.h2
-rw-r--r--calendar/gui/dialogs/event-editor.h2
-rw-r--r--calendar/gui/dialogs/event-page.c7
-rw-r--r--calendar/gui/dialogs/memo-editor.h2
-rw-r--r--calendar/gui/dialogs/memo-page.c7
-rw-r--r--calendar/gui/dialogs/recur-comp.c2
-rw-r--r--calendar/gui/dialogs/recur-comp.h2
-rw-r--r--calendar/gui/dialogs/recurrence-page.c12
-rw-r--r--calendar/gui/dialogs/save-comp.h2
-rw-r--r--calendar/gui/dialogs/schedule-page.c6
-rw-r--r--calendar/gui/dialogs/select-source-dialog.c1
-rw-r--r--calendar/gui/dialogs/select-source-dialog.h2
-rw-r--r--calendar/gui/dialogs/send-comp.c1
-rw-r--r--calendar/gui/dialogs/send-comp.h3
-rw-r--r--calendar/gui/dialogs/task-details-page.c3
-rw-r--r--calendar/gui/dialogs/task-editor.h2
-rw-r--r--calendar/gui/dialogs/task-page.c9
35 files changed, 29 insertions, 110 deletions
diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c
index 7267c29380..a80b022e72 100644
--- a/calendar/gui/dialogs/alarm-dialog.c
+++ b/calendar/gui/dialogs/alarm-dialog.c
@@ -29,19 +29,8 @@
#endif
#include <string.h>
+#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkcellrenderertext.h>
-#include <gtk/gtkdialog.h>
-#include <gtk/gtkfilechooserbutton.h>
-#include <gtk/gtknotebook.h>
-#include <gtk/gtksignal.h>
-#include <gtk/gtktreeview.h>
-#include <gtk/gtktreeselection.h>
-#include <gtk/gtkoptionmenu.h>
-#include <gtk/gtktextbuffer.h>
-#include <gtk/gtktextview.h>
-#include <gtk/gtktogglebutton.h>
#include <bonobo/bonobo-control.h>
#include <bonobo/bonobo-exception.h>
#include <bonobo/bonobo-widget.h>
diff --git a/calendar/gui/dialogs/alarm-list-dialog.c b/calendar/gui/dialogs/alarm-list-dialog.c
index 4b2be10d48..7e38370f5b 100644
--- a/calendar/gui/dialogs/alarm-list-dialog.c
+++ b/calendar/gui/dialogs/alarm-list-dialog.c
@@ -29,13 +29,7 @@
#endif
#include <string.h>
-#include <gtk/gtklabel.h>
-#include <gtk/gtkcellrenderertext.h>
-#include <gtk/gtkdialog.h>
-#include <gtk/gtksignal.h>
-#include <gtk/gtktreeview.h>
-#include <gtk/gtktreeselection.h>
-#include <gtk/gtkoptionmenu.h>
+#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <glade/glade.h>
#include <libedataserver/e-time-utils.h>
diff --git a/calendar/gui/dialogs/cal-attachment-select-file.c b/calendar/gui/dialogs/cal-attachment-select-file.c
index c8f5e89057..a737080c36 100644
--- a/calendar/gui/dialogs/cal-attachment-select-file.c
+++ b/calendar/gui/dialogs/cal-attachment-select-file.c
@@ -30,15 +30,7 @@
#include <config.h>
#endif
-#include <gtk/gtkbox.h>
-#include <gtk/gtkcheckbutton.h>
-#include <gtk/gtkmain.h>
-#include <gtk/gtksignal.h>
-#include <gtk/gtkversion.h>
-
-#include <gtk/gtkfilechooser.h>
-#include <gtk/gtkfilechooserdialog.h>
-#include <gtk/gtkstock.h>
+#include <gtk/gtk.h>
#include <libgnomeui/gnome-uidefs.h>
#include <glib/gi18n.h>
diff --git a/calendar/gui/dialogs/calendar-setup.c b/calendar/gui/dialogs/calendar-setup.c
index ffc3757fb2..d3a1640e9c 100644
--- a/calendar/gui/dialogs/calendar-setup.c
+++ b/calendar/gui/dialogs/calendar-setup.c
@@ -25,10 +25,7 @@
#include <string.h>
-#include <gtk/gtkbox.h>
-#include <gtk/gtkdialog.h>
-#include <gtk/gtkstock.h>
-#include <gtk/gtkvbox.h>
+#include <gtk/gtk.h>
#include <libedataserver/e-source.h>
#include <libedataserver/e-source-list.h>
diff --git a/calendar/gui/dialogs/cancel-comp.c b/calendar/gui/dialogs/cancel-comp.c
index 93dfc1d4b1..0ae16bbbac 100644
--- a/calendar/gui/dialogs/cancel-comp.c
+++ b/calendar/gui/dialogs/cancel-comp.c
@@ -22,8 +22,7 @@
#include <config.h>
#endif
-#include <glib.h>
-#include <gtk/gtkmessagedialog.h>
+#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <libgnomeui/gnome-uidefs.h>
#include <e-util/e-icon-factory.h>
diff --git a/calendar/gui/dialogs/changed-comp.c b/calendar/gui/dialogs/changed-comp.c
index ff6870c514..e6af3c7b74 100644
--- a/calendar/gui/dialogs/changed-comp.c
+++ b/calendar/gui/dialogs/changed-comp.c
@@ -22,8 +22,6 @@
#include <config.h>
#endif
-#include <glib.h>
-#include <gtk/gtkmessagedialog.h>
#include <glib/gi18n.h>
#include <libgnomeui/gnome-uidefs.h>
#include <e-util/e-icon-factory.h>
diff --git a/calendar/gui/dialogs/changed-comp.h b/calendar/gui/dialogs/changed-comp.h
index 2953bd06ec..936d031e94 100644
--- a/calendar/gui/dialogs/changed-comp.h
+++ b/calendar/gui/dialogs/changed-comp.h
@@ -21,8 +21,7 @@
#ifndef CHANGED_COMP_H
#define CHANGED_COMP_H
-#include <glib.h>
-#include <gtk/gtkwindow.h>
+#include <gtk/gtk.h>
#include <libecal/e-cal-component.h>
gboolean changed_component_dialog (GtkWindow *window, ECalComponent *comp, gboolean deleted, gboolean changed);
diff --git a/calendar/gui/dialogs/comp-editor-page.c b/calendar/gui/dialogs/comp-editor-page.c
index 609c872db7..5d664fb4a1 100644
--- a/calendar/gui/dialogs/comp-editor-page.c
+++ b/calendar/gui/dialogs/comp-editor-page.c
@@ -23,8 +23,6 @@
#endif
#include <glib/gi18n.h>
-#include <gtk/gtkmessagedialog.h>
-#include <gtk/gtksignal.h>
#include <libgnomeui/gnome-dialog.h>
#include <libgnomeui/gnome-dialog-util.h>
#include "comp-editor-page.h"
diff --git a/calendar/gui/dialogs/comp-editor-page.h b/calendar/gui/dialogs/comp-editor-page.h
index 5a121ab92b..61f7aea413 100644
--- a/calendar/gui/dialogs/comp-editor-page.h
+++ b/calendar/gui/dialogs/comp-editor-page.h
@@ -22,7 +22,7 @@
#define COMP_EDITOR_PAGE_H
#include <time.h>
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
#include <libecal/e-cal-component.h>
#include <libecal/e-cal.h>
diff --git a/calendar/gui/dialogs/comp-editor-util.c b/calendar/gui/dialogs/comp-editor-util.c
index dabf01745e..347dddeef0 100644
--- a/calendar/gui/dialogs/comp-editor-util.c
+++ b/calendar/gui/dialogs/comp-editor-util.c
@@ -25,8 +25,6 @@
#include <ctype.h>
#include <string.h>
#include <libical/ical.h>
-#include <glib.h>
-#include <gtk/gtklabel.h>
#include <glib/gi18n.h>
#include <bonobo-activation/bonobo-activation.h>
#include <bonobo/bonobo-control.h>
diff --git a/calendar/gui/dialogs/comp-editor-util.h b/calendar/gui/dialogs/comp-editor-util.h
index b83dd33e01..f7786dbd37 100644
--- a/calendar/gui/dialogs/comp-editor-util.h
+++ b/calendar/gui/dialogs/comp-editor-util.h
@@ -21,7 +21,7 @@
#ifndef _COMP_EDITOR_UTIL_H_
#define _COMP_EDITOR_UTIL_H_
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
#include "comp-editor-page.h"
void comp_editor_dates (CompEditorPageDates *date, ECalComponent *comp);
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 0662572690..f40e093354 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -27,14 +27,12 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
-#include <glib.h>
+#include <glib/gi18n.h>
#include <glib/gstdio.h>
#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkstock.h>
#include <bonobo/bonobo-ui-util.h>
#include <bonobo/bonobo-widget.h>
#include <libgnome/libgnome.h>
-#include <glib/gi18n.h>
#include <libgnomeui/gnome-uidefs.h>
#include <libgnomeui/gnome-dialog.h>
#include <libgnomeui/gnome-dialog-util.h>
diff --git a/calendar/gui/dialogs/copy-source-dialog.c b/calendar/gui/dialogs/copy-source-dialog.c
index e4f5c55623..12996cd48a 100644
--- a/calendar/gui/dialogs/copy-source-dialog.c
+++ b/calendar/gui/dialogs/copy-source-dialog.c
@@ -22,7 +22,6 @@
#include <config.h>
#endif
-#include <gtk/gtkmessagedialog.h>
#include <bonobo/bonobo-i18n.h>
#include "copy-source-dialog.h"
#include "select-source-dialog.h"
diff --git a/calendar/gui/dialogs/copy-source-dialog.h b/calendar/gui/dialogs/copy-source-dialog.h
index 89e1955673..d6390c2c5d 100644
--- a/calendar/gui/dialogs/copy-source-dialog.h
+++ b/calendar/gui/dialogs/copy-source-dialog.h
@@ -21,7 +21,7 @@
#ifndef COPY_SOURCE_DIALOG_H
#define COPY_SOURCE_DIALOG_H
-#include <gtk/gtkwindow.h>
+#include <gtk/gtk.h>
#include <libedataserver/e-source.h>
#include <libecal/e-cal.h>
#include <libecal/e-cal-util.h>
diff --git a/calendar/gui/dialogs/delete-comp.c b/calendar/gui/dialogs/delete-comp.c
index 8446608222..e9e088b1a8 100644
--- a/calendar/gui/dialogs/delete-comp.c
+++ b/calendar/gui/dialogs/delete-comp.c
@@ -22,10 +22,6 @@
#include <config.h>
#endif
-#include <glib.h>
-#include <gtk/gtkstock.h>
-#include <gtk/gtk.h>
-#include <gtk/gtkmessagedialog.h>
#include <glib/gi18n.h>
#include <e-util/e-icon-factory.h>
#include "e-util/e-error.h"
diff --git a/calendar/gui/dialogs/delete-comp.h b/calendar/gui/dialogs/delete-comp.h
index 9dd79c6881..5c24e0105c 100644
--- a/calendar/gui/dialogs/delete-comp.h
+++ b/calendar/gui/dialogs/delete-comp.h
@@ -21,7 +21,7 @@
#ifndef DELETE_COMP_H
#define DELETE_COMP_H
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
#include <libecal/e-cal-component.h>
gboolean delete_component_dialog (ECalComponent *comp,
diff --git a/calendar/gui/dialogs/delete-error.c b/calendar/gui/dialogs/delete-error.c
index ea9406da73..520a2a6aee 100644
--- a/calendar/gui/dialogs/delete-error.c
+++ b/calendar/gui/dialogs/delete-error.c
@@ -22,8 +22,7 @@
#include <config.h>
#endif
-#include <glib.h>
-#include <gtk/gtkmessagedialog.h>
+#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <libgnomeui/gnome-uidefs.h>
#include <e-util/e-icon-factory.h>
diff --git a/calendar/gui/dialogs/e-delegate-dialog.c b/calendar/gui/dialogs/e-delegate-dialog.c
index 8f2fbb4ed7..b10e13328a 100644
--- a/calendar/gui/dialogs/e-delegate-dialog.c
+++ b/calendar/gui/dialogs/e-delegate-dialog.c
@@ -23,11 +23,7 @@
#include <config.h>
#endif
-#include <gtk/gtksignal.h>
-#include <gtk/gtkcombo.h>
-#include <gtk/gtkentry.h>
-#include <gtk/gtklabel.h>
-#include <gnome.h>
+#include <gtk/gtk.h>
#include <libical/ical.h>
#include <glade/glade.h>
#include <misc/e-map.h>
diff --git a/calendar/gui/dialogs/e-delegate-dialog.h b/calendar/gui/dialogs/e-delegate-dialog.h
index 67787190af..0a9fb7ddb8 100644
--- a/calendar/gui/dialogs/e-delegate-dialog.h
+++ b/calendar/gui/dialogs/e-delegate-dialog.h
@@ -21,7 +21,7 @@
#ifndef __E_DELEGATE_DIALOG_H__
#define __E_DELEGATE_DIALOG_H__
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
diff --git a/calendar/gui/dialogs/event-editor.h b/calendar/gui/dialogs/event-editor.h
index eacb87d780..da34afd2d7 100644
--- a/calendar/gui/dialogs/event-editor.h
+++ b/calendar/gui/dialogs/event-editor.h
@@ -24,7 +24,7 @@
#ifndef __EVENT_EDITOR_H__
#define __EVENT_EDITOR_H__
-#include <gtk/gtkobject.h>
+#include <gtk/gtk.h>
#include "comp-editor.h"
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index 10dbd5cbec..9e76f412cb 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -26,13 +26,10 @@
#endif
#include <string.h>
-#include <gtk/gtksignal.h>
-#include <gtk/gtktextview.h>
-#include <gtk/gtktogglebutton.h>
-#include <gtk/gtkmessagedialog.h>
-#include <gdk/gdkkeysyms.h>
+#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <glade/glade.h>
+#include <gdk/gdkkeysyms.h>
#include <libedataserverui/e-source-combo-box.h>
#include "common/authentication.h"
#include "e-util/e-categories-config.h"
diff --git a/calendar/gui/dialogs/memo-editor.h b/calendar/gui/dialogs/memo-editor.h
index d913628158..0cdbbdc105 100644
--- a/calendar/gui/dialogs/memo-editor.h
+++ b/calendar/gui/dialogs/memo-editor.h
@@ -25,7 +25,7 @@
#ifndef __MEMO_EDITOR_H__
#define __MEMO_EDITOR_H__
-#include <gtk/gtkobject.h>
+#include <gtk/gtk.h>
#include "comp-editor.h"
#define TYPE_MEMO_EDITOR (memo_editor_get_type ())
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c
index cbb4d2b0cd..f36bb7f479 100644
--- a/calendar/gui/dialogs/memo-page.c
+++ b/calendar/gui/dialogs/memo-page.c
@@ -27,12 +27,7 @@
#endif
#include <string.h>
-#include <gtk/gtksignal.h>
-#include <gtk/gtktextview.h>
-#include <gtk/gtktogglebutton.h>
-#include <gtk/gtkspinbutton.h>
-#include <gtk/gtkoptionmenu.h>
-#include <gtk/gtkmessagedialog.h>
+#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <glade/glade.h>
#include <libedataserverui/e-source-combo-box.h>
diff --git a/calendar/gui/dialogs/recur-comp.c b/calendar/gui/dialogs/recur-comp.c
index ecf1436abc..bffe9460fa 100644
--- a/calendar/gui/dialogs/recur-comp.c
+++ b/calendar/gui/dialogs/recur-comp.c
@@ -22,8 +22,6 @@
#include <config.h>
#endif
-#include <glib.h>
-#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <libgnomeui/gnome-uidefs.h>
#include "recur-comp.h"
diff --git a/calendar/gui/dialogs/recur-comp.h b/calendar/gui/dialogs/recur-comp.h
index dcb9464418..27d872b55b 100644
--- a/calendar/gui/dialogs/recur-comp.h
+++ b/calendar/gui/dialogs/recur-comp.h
@@ -21,7 +21,7 @@
#ifndef RECUR_COMP_H
#define RECUR_COMP_H
-#include <gtk/gtkwindow.h>
+#include <gtk/gtk.h>
#include <libecal/e-cal.h>
#include <libecal/e-cal-component.h>
#include <libecal/e-cal-util.h>
diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c
index cfa6b2b49d..a58240d946 100644
--- a/calendar/gui/dialogs/recurrence-page.c
+++ b/calendar/gui/dialogs/recurrence-page.c
@@ -28,17 +28,7 @@
#include <config.h>
#endif
-#include <gtk/gtklabel.h>
-#include <gtk/gtkcellrenderertext.h>
-#include <gtk/gtkmenuitem.h>
-#include <gtk/gtkoptionmenu.h>
-#include <gtk/gtktogglebutton.h>
-#include <gtk/gtksignal.h>
-#include <gtk/gtkspinbutton.h>
-#include <gtk/gtktreeview.h>
-#include <gtk/gtktreeselection.h>
-#include <gtk/gtkdialog.h>
-#include <gtk/gtkstock.h>
+#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <glade/glade.h>
#include <libedataserver/e-time-utils.h>
diff --git a/calendar/gui/dialogs/save-comp.h b/calendar/gui/dialogs/save-comp.h
index c598b21b6a..a6f4d0a3a5 100644
--- a/calendar/gui/dialogs/save-comp.h
+++ b/calendar/gui/dialogs/save-comp.h
@@ -22,7 +22,7 @@
#ifndef SAVE_COMP_H
#define SAVE_COMP_H
-#include <gtk/gtkdialog.h>
+#include <gtk/gtk.h>
#include <libecal/e-cal-component.h>
GtkResponseType save_component_dialog (GtkWindow *parent, ECalComponent *comp);
diff --git a/calendar/gui/dialogs/schedule-page.c b/calendar/gui/dialogs/schedule-page.c
index 36afc0ba7a..cbbab9bb17 100644
--- a/calendar/gui/dialogs/schedule-page.c
+++ b/calendar/gui/dialogs/schedule-page.c
@@ -25,11 +25,7 @@
#include <config.h>
#endif
-#include <glib.h>
-#include <gtk/gtksignal.h>
-#include <gtk/gtktogglebutton.h>
-#include <gtk/gtkvbox.h>
-#include <gtk/gtkwindow.h>
+#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <libgnomeui/gnome-dialog-util.h>
#include <glade/glade.h>
diff --git a/calendar/gui/dialogs/select-source-dialog.c b/calendar/gui/dialogs/select-source-dialog.c
index 7fef786e0f..06e8bfc0d7 100644
--- a/calendar/gui/dialogs/select-source-dialog.c
+++ b/calendar/gui/dialogs/select-source-dialog.c
@@ -23,7 +23,6 @@
#endif
#include <bonobo/bonobo-i18n.h>
-#include <gtk/gtkstock.h>
#include <e-util/e-icon-factory.h>
#include <libedataserverui/e-source-selector-dialog.h>
#include "select-source-dialog.h"
diff --git a/calendar/gui/dialogs/select-source-dialog.h b/calendar/gui/dialogs/select-source-dialog.h
index 70b4e9d19b..9618074013 100644
--- a/calendar/gui/dialogs/select-source-dialog.h
+++ b/calendar/gui/dialogs/select-source-dialog.h
@@ -21,7 +21,7 @@
#ifndef SELECT_SOURCE_DIALOG_H
#define SELECT_SOURCE_DIALOG_H
-#include <gtk/gtkwindow.h>
+#include <gtk/gtk.h>
#include <libedataserver/e-source.h>
#include <libecal/e-cal.h>
diff --git a/calendar/gui/dialogs/send-comp.c b/calendar/gui/dialogs/send-comp.c
index 0db1be872a..006a480764 100644
--- a/calendar/gui/dialogs/send-comp.c
+++ b/calendar/gui/dialogs/send-comp.c
@@ -22,7 +22,6 @@
#include <config.h>
#endif
-#include <gtk/gtkmessagedialog.h>
#include "e-util/e-error.h"
#include "send-comp.h"
diff --git a/calendar/gui/dialogs/send-comp.h b/calendar/gui/dialogs/send-comp.h
index 6f407747e9..e40d0fcd14 100644
--- a/calendar/gui/dialogs/send-comp.h
+++ b/calendar/gui/dialogs/send-comp.h
@@ -21,8 +21,7 @@
#ifndef SEND_COMP_H
#define SEND_COMP_H
-#include <glib.h>
-#include <gtk/gtkwindow.h>
+#include <gtk/gtk.h>
#include <libecal/e-cal.h>
#include <libecal/e-cal-component.h>
diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c
index b9d5ace108..c6d07929ee 100644
--- a/calendar/gui/dialogs/task-details-page.c
+++ b/calendar/gui/dialogs/task-details-page.c
@@ -25,8 +25,7 @@
#include <config.h>
#endif
-#include <gtk/gtksignal.h>
-#include <gtk/gtktogglebutton.h>
+#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <glade/glade.h>
#include <misc/e-dateedit.h>
diff --git a/calendar/gui/dialogs/task-editor.h b/calendar/gui/dialogs/task-editor.h
index 2980c7c2ae..31a98ff037 100644
--- a/calendar/gui/dialogs/task-editor.h
+++ b/calendar/gui/dialogs/task-editor.h
@@ -24,7 +24,7 @@
#ifndef __TASK_EDITOR_H__
#define __TASK_EDITOR_H__
-#include <gtk/gtkobject.h>
+#include <gtk/gtk.h>
#include "comp-editor.h"
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c
index 6b004294f9..ffa3b74ccd 100644
--- a/calendar/gui/dialogs/task-page.c
+++ b/calendar/gui/dialogs/task-page.c
@@ -26,15 +26,10 @@
#endif
#include <string.h>
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtksignal.h>
-#include <gtk/gtktextview.h>
-#include <gtk/gtktogglebutton.h>
-#include <gtk/gtkspinbutton.h>
-#include <gtk/gtkoptionmenu.h>
-#include <gtk/gtkmessagedialog.h>
+#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <glade/glade.h>
+#include <gdk/gdkkeysyms.h>
#include <libedataserverui/e-source-combo-box.h>
#include <misc/e-dateedit.h>
#include <e-util/e-dialog-utils.h>