summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--gtk/gtkmountoperation.h6
-rw-r--r--gtk/gtkshow.c3
-rw-r--r--gtk/gtkshow.h2
-rw-r--r--gtk/gtktestutils.h3
5 files changed, 8 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 0657e1754f..b65014a642 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-23 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkmountoperation.h
+ * gtk/gtktestutils.h
+ * gtk/gtkshow.[ch]: remove as many includes as possible from these
+ new files. They can't be included individually, so nothing can break.
+
2008-06-22 Michael Natterer <mitch@imendio.com>
* gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
diff --git a/gtk/gtkmountoperation.h b/gtk/gtkmountoperation.h
index 8e93cfe47e..b0a6b04f33 100644
--- a/gtk/gtkmountoperation.h
+++ b/gtk/gtkmountoperation.h
@@ -31,11 +31,6 @@
#ifndef __GTK_MOUNT_OPERATION_H__
#define __GTK_MOUNT_OPERATION_H__
-#include <glib.h>
-#include <gio/gio.h>
-#include <gdk/gdk.h>
-#include <gtk/gtkwindow.h>
-
G_BEGIN_DECLS
#define GTK_TYPE_MOUNT_OPERATION (gtk_mount_operation_get_type ())
@@ -81,4 +76,3 @@ GdkScreen *gtk_mount_operation_get_screen (GtkMountOperation *op);
G_END_DECLS
#endif /* __GTK_MOUNT_OPERATION_H__ */
-
diff --git a/gtk/gtkshow.c b/gtk/gtkshow.c
index 12b0fdfd48..a9bcd0de68 100644
--- a/gtk/gtkshow.c
+++ b/gtk/gtkshow.c
@@ -22,8 +22,7 @@
#include "config.h"
-#include <glib.h>
-#include <gio/gio.h>
+#include <gdk/gdk.h>
#include "gtkshow.h"
diff --git a/gtk/gtkshow.h b/gtk/gtkshow.h
index be0c4e3a6b..111edd32ce 100644
--- a/gtk/gtkshow.h
+++ b/gtk/gtkshow.h
@@ -27,8 +27,6 @@
#ifndef __GTK_SHOW_H__
#define __GTK_SHOW_H__
-#include <gdk/gdk.h>
-
G_BEGIN_DECLS
gboolean gtk_show_uri (GdkScreen *screen,
diff --git a/gtk/gtktestutils.h b/gtk/gtktestutils.h
index c6fe4fa5b1..5b90dc67c1 100644
--- a/gtk/gtktestutils.h
+++ b/gtk/gtktestutils.h
@@ -25,9 +25,6 @@
#ifndef __GTK_TEST_UTILS_H__
#define __GTK_TEST_UTILS_H__
-#include <gtk/gtkwidget.h>
-#include <gtk/gtkspinbutton.h>
-
G_BEGIN_DECLS
/* --- Gtk+ Test Utility API --- */