summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-06-24 10:16:01 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-06-24 10:16:01 +0000
commita13f698b3a1d5d3376cc60c3ea99b1857f1f8a19 (patch)
tree8af248ad17a1351c58df7bee5d360425ede034d1
parent7146dd12e59036be498b3d5777d71ec8f175136b (diff)
downloadgtk+-a13f698b3a1d5d3376cc60c3ea99b1857f1f8a19.tar.gz
gtk/gtkassistant.h gtk/gtkcellrenderer.h gtk/gtkfilechooserentry.h
2008-06-24 Michael Natterer <mitch@imendio.com> * gtk/gtkassistant.h * gtk/gtkcellrenderer.h * gtk/gtkfilechooserentry.h * gtk/gtkprivate.h * gtk/gtktooltip.h * gtk/gtktreeview.h * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h if there is any other widget included, they all have to include their respective parent classes (the is-a relation works for includes too). svn path=/trunk/; revision=20679
-rw-r--r--ChangeLog13
-rw-r--r--gtk/gtkassistant.h1
-rw-r--r--gtk/gtkcellrenderer.h2
-rw-r--r--gtk/gtkfilechooserentry.h1
-rw-r--r--gtk/gtkprivate.h5
-rw-r--r--gtk/gtktooltip.h1
-rw-r--r--gtk/gtktreeview.h2
-rw-r--r--gtk/gtkwindow.h2
8 files changed, 14 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 12e5378863..bf4e03357d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
2008-06-24 Michael Natterer <mitch@imendio.com>
+ * gtk/gtkassistant.h
+ * gtk/gtkcellrenderer.h
+ * gtk/gtkfilechooserentry.h
+ * gtk/gtkprivate.h
+ * gtk/gtktooltip.h
+ * gtk/gtktreeview.h
+ * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
+ if there is any other widget included, they all have to include
+ their respective parent classes (the is-a relation works for
+ includes too).
+
+2008-06-24 Michael Natterer <mitch@imendio.com>
+
* gtk/gtktextutil.h: remove includes from this internal header.
* gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
diff --git a/gtk/gtkassistant.h b/gtk/gtkassistant.h
index e59d7e94b0..b39afef43b 100644
--- a/gtk/gtkassistant.h
+++ b/gtk/gtkassistant.h
@@ -30,7 +30,6 @@
#ifndef __GTK_ASSISTANT_H__
#define __GTK_ASSISTANT_H__
-#include <gtk/gtkwidget.h>
#include <gtk/gtkwindow.h>
G_BEGIN_DECLS
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h
index 25e8571103..8b54292692 100644
--- a/gtk/gtkcellrenderer.h
+++ b/gtk/gtkcellrenderer.h
@@ -24,8 +24,6 @@
#ifndef __GTK_CELL_RENDERER_H__
#define __GTK_CELL_RENDERER_H__
-#include <gtk/gtkobject.h>
-#include <gtk/gtkwidget.h>
#include <gtk/gtkcelleditable.h>
G_BEGIN_DECLS
diff --git a/gtk/gtkfilechooserentry.h b/gtk/gtkfilechooserentry.h
index c68d0e9636..2818fd9da7 100644
--- a/gtk/gtkfilechooserentry.h
+++ b/gtk/gtkfilechooserentry.h
@@ -23,7 +23,6 @@
#include "gtkfilesystem.h"
#include "gtkfilechooser.h"
-#include <gtk/gtkwidget.h>
G_BEGIN_DECLS
diff --git a/gtk/gtkprivate.h b/gtk/gtkprivate.h
index 690cc8a34f..c423f7b1e1 100644
--- a/gtk/gtkprivate.h
+++ b/gtk/gtkprivate.h
@@ -21,17 +21,14 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#ifndef __GTK_PRIVATE_H__
#define __GTK_PRIVATE_H__
-
-#include <gtk/gtkobject.h>
#include <gtk/gtkwidget.h>
-
G_BEGIN_DECLS
/* The private flags that are used in the private_flags member of GtkWidget.
diff --git a/gtk/gtktooltip.h b/gtk/gtktooltip.h
index be2bd40b4d..8039da6fbc 100644
--- a/gtk/gtktooltip.h
+++ b/gtk/gtktooltip.h
@@ -26,7 +26,6 @@
#ifndef __GTK_TOOLTIP_H__
#define __GTK_TOOLTIP_H__
-#include <gtk/gtkwidget.h>
#include <gtk/gtkwindow.h>
G_BEGIN_DECLS
diff --git a/gtk/gtktreeview.h b/gtk/gtktreeview.h
index f98b2343be..098ab5ce17 100644
--- a/gtk/gtktreeview.h
+++ b/gtk/gtktreeview.h
@@ -24,14 +24,12 @@
#ifndef __GTK_TREE_VIEW_H__
#define __GTK_TREE_VIEW_H__
-#include <gtk/gtkwidget.h>
#include <gtk/gtkcontainer.h>
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreeviewcolumn.h>
#include <gtk/gtkdnd.h>
#include <gtk/gtkentry.h>
-
G_BEGIN_DECLS
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index dcc4a26bac..bd8545e3d5 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -31,12 +31,10 @@
#ifndef __GTK_WINDOW_H__
#define __GTK_WINDOW_H__
-
#include <gdk/gdk.h>
#include <gtk/gtkaccelgroup.h>
#include <gtk/gtkbin.h>
#include <gtk/gtkenums.h>
-#include <gtk/gtkwidget.h>
G_BEGIN_DECLS