summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-06-24 09:55:08 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-06-24 09:55:08 +0000
commit7146dd12e59036be498b3d5777d71ec8f175136b (patch)
tree5c798d950a36b51fba690b5950691b6a14a9cbcb
parent2f1e92ad59b6158e27e40fa8b4a7d88490f785a0 (diff)
downloadgtk+-7146dd12e59036be498b3d5777d71ec8f175136b.tar.gz
remove includes from this internal header.
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. svn path=/trunk/; revision=20678
-rw-r--r--ChangeLog6
-rw-r--r--gtk/gtktextutil.c3
-rw-r--r--gtk/gtktextutil.h13
3 files changed, 12 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 03ca2ae43c..12e5378863 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2008-06-23 Michael Natterer <mitch@imendio.com>
* gtk/gtkinvisible.h: formatting.
diff --git a/gtk/gtktextutil.c b/gtk/gtktextutil.c
index 32e5cb6496..0afeeb43ad 100644
--- a/gtk/gtktextutil.c
+++ b/gtk/gtktextutil.c
@@ -25,8 +25,9 @@
*/
#include "config.h"
-#include "gtktextutil.h"
+
#include "gtktextview.h"
+#include "gtktextutil.h"
#define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
diff --git a/gtk/gtktextutil.h b/gtk/gtktextutil.h
index 5b3070b212..8b346520bf 100644
--- a/gtk/gtktextutil.h
+++ b/gtk/gtktextutil.h
@@ -21,23 +21,18 @@
* Modified by the GTK+ Team and others 1997-2001. 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_TEXT_UTIL_H__
#define __GTK_TEXT_UTIL_H__
-
-#include <gtk/gtkwidget.h>
-#include <gtk/gtkmenushell.h>
-#include <gtk/gtkeditable.h>
-#include <gtk/gtktextbuffer.h>
-
-
G_BEGIN_DECLS
+/* This is a private uninstalled header shared between
+ * GtkTextView and GtkEntry
+ */
-/* This is a private uninstalled header shared between GtkTextView and GtkEntry */
typedef void (* GtkTextUtilCharChosenFunc) (const char *text,
gpointer data);