summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Natterer <mitch@gimp.org>2008-05-23 14:55:43 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-05-23 14:55:43 +0000
commitc75c6bf4441e85bb83ef3ac2118a3c7bd5fa98d5 (patch)
tree1d4e511b1367b9b6ee7516c5ffbbbc40a5927143 /tests
parent57625ac5b94902d7c47a2411a8f6eda6ce84d7bd (diff)
downloadgtk+-c75c6bf4441e85bb83ef3ac2118a3c7bd5fa98d5.tar.gz
perf/widgets.h tests/print-editor.c tests/prop-editor.h
2008-05-23 Michael Natterer <mitch@gimp.org> * perf/widgets.h * tests/print-editor.c * tests/prop-editor.h * tests/testmountoperation.c * tests/testmultidisplay.c * tests/testnouiprint.c * tests/testprint.c * tests/testprintfileoperation.h * tests/testtreesort.c * tests/textbuffertest.c: include <gtk/gtk.h> instead of single files. Remove some redundant includes. svn path=/trunk/; revision=20128
Diffstat (limited to 'tests')
-rw-r--r--tests/print-editor.c1
-rw-r--r--tests/prop-editor.h3
-rw-r--r--tests/testmountoperation.c1
-rw-r--r--tests/testmultidisplay.c2
-rw-r--r--tests/testnouiprint.c2
-rw-r--r--tests/testprint.c1
-rw-r--r--tests/testprintfileoperation.h2
-rw-r--r--tests/testtreesort.c2
-rw-r--r--tests/textbuffertest.c2
9 files changed, 6 insertions, 10 deletions
diff --git a/tests/print-editor.c b/tests/print-editor.c
index 9b47ce8d55..b476e013cd 100644
--- a/tests/print-editor.c
+++ b/tests/print-editor.c
@@ -1,7 +1,6 @@
#include <math.h>
#include <pango/pangocairo.h>
#include <gtk/gtk.h>
-#include <gtk/gtkprintoperation.h>
static GtkWidget *main_window;
static char *filename = NULL;
diff --git a/tests/prop-editor.h b/tests/prop-editor.h
index 1f86d9be11..377f81720d 100644
--- a/tests/prop-editor.h
+++ b/tests/prop-editor.h
@@ -16,7 +16,8 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
-#include <gtk/gtkwidget.h>
+
+#include <gtk/gtk.h>
#ifndef __PROP_EDITOR_H__
#define __PROP_EDITOR_H__
diff --git a/tests/testmountoperation.c b/tests/testmountoperation.c
index 92edf3324e..c6ba138c27 100644
--- a/tests/testmountoperation.c
+++ b/tests/testmountoperation.c
@@ -20,7 +20,6 @@
#include <config.h>
#include <gtk/gtk.h>
-#include <gtk/gtkmountoperation.h>
static gboolean ask_question = FALSE;
static gboolean anonymous = FALSE;
diff --git a/tests/testmultidisplay.c b/tests/testmultidisplay.c
index 3f4e3e4500..3074b35dbb 100644
--- a/tests/testmultidisplay.c
+++ b/tests/testmultidisplay.c
@@ -20,8 +20,6 @@
#include <config.h>
#include <gtk/gtk.h>
-#include <gtk/gtkstock.h>
-#include <gdk/gdk.h>
gchar *screen2_name = NULL;
diff --git a/tests/testnouiprint.c b/tests/testnouiprint.c
index 09a678f375..d63979b05f 100644
--- a/tests/testnouiprint.c
+++ b/tests/testnouiprint.c
@@ -19,8 +19,8 @@
*/
#include <config.h>
-#include "gtk/gtkprintoperation.h"
#include <math.h>
+#include "gtk/gtk.h"
static void
draw_page (GtkPrintOperation *operation,
diff --git a/tests/testprint.c b/tests/testprint.c
index 1da7af97d9..8eed10ef04 100644
--- a/tests/testprint.c
+++ b/tests/testprint.c
@@ -22,7 +22,6 @@
#include <math.h>
#include <pango/pangocairo.h>
#include <gtk/gtk.h>
-#include <gtk/gtkprintoperation.h>
#include "testprintfileoperation.h"
static void
diff --git a/tests/testprintfileoperation.h b/tests/testprintfileoperation.h
index 653abbf802..40472fdf94 100644
--- a/tests/testprintfileoperation.h
+++ b/tests/testprintfileoperation.h
@@ -1,7 +1,7 @@
#ifndef __TEST_PRINT_FILE_OPERATION_H__
#define __TEST_PRINT_FILE_OPERATION_H__
-#include <gtk/gtkprintoperation.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/tests/testtreesort.c b/tests/testtreesort.c
index 3b792c2d87..a58b1b40bf 100644
--- a/tests/testtreesort.c
+++ b/tests/testtreesort.c
@@ -21,7 +21,7 @@
#include <config.h>
#include <gtk/gtk.h>
-#include "../gtk/gtktreedatalist.h"
+#include "gtk/gtktreedatalist.h"
typedef struct _ListSort ListSort;
diff --git a/tests/textbuffertest.c b/tests/textbuffertest.c
index f8a33a1eb3..3fdbf9f400 100644
--- a/tests/textbuffertest.c
+++ b/tests/textbuffertest.c
@@ -23,7 +23,7 @@
#include <string.h>
#include <gtk/gtk.h>
-#include "../gtk/gtktexttypes.h" /* Private header, for UNKNOWN_CHAR */
+#include "gtk/gtktexttypes.h" /* Private header, for UNKNOWN_CHAR */
static void
gtk_text_iter_spew (const GtkTextIter *iter, const gchar *desc)