summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@redhat.com>2009-11-10 14:58:19 -0500
committerSøren Sandmann Pedersen <sandmann@redhat.com>2009-11-17 00:32:03 -0500
commit56bd91340102e915a239d2afa1db223109cf6639 (patch)
tree7d73348b125ca5e3a3bcedf64a92e744dd938586
parent7be529f3bd6455259e24163a27a0a5a761ee0cc3 (diff)
test: Rename utils.[ch] to gtk-utils.[ch]
-rw-r--r--test/Makefile.am17
-rw-r--r--test/alpha-test.c2
-rw-r--r--test/clip-in.c2
-rw-r--r--test/clip-test.c2
-rw-r--r--test/composite-test.c2
-rw-r--r--test/convolution-test.c2
-rw-r--r--test/gradient-test.c2
-rw-r--r--test/gtk-utils.c (renamed from test/utils.c)2
-rw-r--r--test/gtk-utils.h (renamed from test/utils.h)0
-rw-r--r--test/screen-test.c2
-rw-r--r--test/trap-test.c2
11 files changed, 18 insertions, 17 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 784abe8c..74f793ba 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -25,6 +25,7 @@ window_test_LDADD = $(TEST_LDADD)
if HAVE_GTK
GTK_LDADD = $(TEST_LDADD) $(GTK_LIBS)
+GTK_UTILS = gtk-utils.c gtk-utils.h
TESTPROGRAMS += \
clip-test \
@@ -39,28 +40,28 @@ TESTPROGRAMS += \
INCLUDES += $(GTK_CFLAGS)
gradient_test_LDADD = $(GTK_LDADD)
-gradient_test_SOURCES = gradient-test.c utils.c utils.h
+gradient_test_SOURCES = gradient-test.c $(GTK_UTILS)
alpha_test_LDADD = $(GTK_LDADD)
-alpha_test_SOURCES = alpha-test.c utils.c utils.h
+alpha_test_SOURCES = alpha-test.c $(GTK_UTILS)
composite_test_LDADD = $(GTK_LDADD)
-composite_test_SOURCES = composite-test.c utils.c utils.h
+composite_test_SOURCES = composite-test.c $(GTK_UTILS)
clip_test_LDADD = $(GTK_LDADD)
-clip_test_SOURCES = clip-test.c utils.c utils.h
+clip_test_SOURCES = clip-test.c $(GTK_UTILS)
clip_in_LDADD = $(GTK_LDADD)
-clip_in_SOURCES = clip-in.c utils.c utils.h
+clip_in_SOURCES = clip-in.c $(GTK_UTILS)
trap_test_LDADD = $(GTK_LDADD)
-trap_test_SOURCES = trap-test.c utils.c utils.h
+trap_test_SOURCES = trap-test.c $(GTK_UTILS)
screen_test_LDADD = $(GTK_LDADD)
-screen_test_SOURCES = screen-test.c utils.c utils.h
+screen_test_SOURCES = screen-test.c $(GTK_UTILS)
convolution_test_LDADD = $(GTK_LDADD)
-convolution_test_SOURCES = convolution-test.c utils.c utils.h
+convolution_test_SOURCES = convolution-test.c $(GTK_UTILS)
endif
diff --git a/test/alpha-test.c b/test/alpha-test.c
index fd6b2ecc..92c20814 100644
--- a/test/alpha-test.c
+++ b/test/alpha-test.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "pixman.h"
-#include "utils.h"
+#include "gtk-utils.h"
int
main (int argc, char **argv)
diff --git a/test/clip-in.c b/test/clip-in.c
index 55459b20..51579811 100644
--- a/test/clip-in.c
+++ b/test/clip-in.c
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <string.h>
#include "pixman.h"
-#include "utils.h"
+#include "gtk-utils.h"
/* This test demonstrates that clipping is done totally different depending
* on whether the source is transformed or not.
diff --git a/test/clip-test.c b/test/clip-test.c
index cbab4477..aa0df448 100644
--- a/test/clip-test.c
+++ b/test/clip-test.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "pixman.h"
-#include "utils.h"
+#include "gtk-utils.h"
#define WIDTH 200
#define HEIGHT 200
diff --git a/test/composite-test.c b/test/composite-test.c
index 2f145025..5401abfd 100644
--- a/test/composite-test.c
+++ b/test/composite-test.c
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <stdio.h>
#include "pixman.h"
-#include "utils.h"
+#include "gtk-utils.h"
#define WIDTH 60
#define HEIGHT 60
diff --git a/test/convolution-test.c b/test/convolution-test.c
index 8609d38a..da284af7 100644
--- a/test/convolution-test.c
+++ b/test/convolution-test.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "pixman.h"
-#include "utils.h"
+#include "gtk-utils.h"
int
main (int argc, char **argv)
diff --git a/test/gradient-test.c b/test/gradient-test.c
index c95c7141..fc84844b 100644
--- a/test/gradient-test.c
+++ b/test/gradient-test.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "pixman.h"
-#include "utils.h"
+#include "gtk-utils.h"
int
main (int argc, char **argv)
diff --git a/test/utils.c b/test/gtk-utils.c
index a609315c..751a164c 100644
--- a/test/utils.c
+++ b/test/gtk-utils.c
@@ -3,7 +3,7 @@
#include "pixman-private.h" /* For image->bits.format
* FIXME: there should probably be public API for this
*/
-#include "utils.h"
+#include "gtk-utils.h"
GdkPixbuf *
pixbuf_from_argb32 (uint32_t *bits,
diff --git a/test/utils.h b/test/gtk-utils.h
index 2cb13bcf..2cb13bcf 100644
--- a/test/utils.h
+++ b/test/gtk-utils.h
diff --git a/test/screen-test.c b/test/screen-test.c
index 5e02eee0..e69dba3d 100644
--- a/test/screen-test.c
+++ b/test/screen-test.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "pixman.h"
-#include "utils.h"
+#include "gtk-utils.h"
int
main (int argc, char **argv)
diff --git a/test/trap-test.c b/test/trap-test.c
index 1da439bd..19295e7a 100644
--- a/test/trap-test.c
+++ b/test/trap-test.c
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <string.h>
#include "pixman.h"
-#include "utils.h"
+#include "gtk-utils.h"
int
main (int argc, char **argv)