summaryrefslogtreecommitdiff
path: root/testsuite/gtk/builderparser.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-07-24 20:40:36 +0200
committerBenjamin Otte <otte@redhat.com>2020-07-25 00:47:36 +0200
commitd375dce9f52fd9830069a6fd9287abde93d3f24b (patch)
treecd759ec130e07189ab7f19ebd03b8e89923aaa7f /testsuite/gtk/builderparser.c
parentd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff)
downloadgtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz
Replace "gchar" with "char"
Diffstat (limited to 'testsuite/gtk/builderparser.c')
-rw-r--r--testsuite/gtk/builderparser.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/testsuite/gtk/builderparser.c b/testsuite/gtk/builderparser.c
index 0f11933509..7f26242d60 100644
--- a/testsuite/gtk/builderparser.c
+++ b/testsuite/gtk/builderparser.c
@@ -23,9 +23,9 @@
#include <gtk/gtk.h>
static void
-test_file (const gchar *filename, GString *string)
+test_file (const char *filename, GString *string)
{
- gchar *contents;
+ char *contents;
gsize length;
GError *error = NULL;
gboolean ret;
@@ -59,10 +59,10 @@ test_file (const gchar *filename, GString *string)
g_object_unref (builder);
}
-static gchar *
-get_expected_filename (const gchar *filename)
+static char *
+get_expected_filename (const char *filename)
{
- gchar *f, *p, *expected;
+ char *f, *p, *expected;
f = g_strdup (filename);
p = strstr (f, ".ui");
@@ -78,9 +78,9 @@ get_expected_filename (const gchar *filename)
static void
test_parse (gconstpointer d)
{
- const gchar *filename = d;
- gchar *expected_file;
- gchar *expected;
+ const char *filename = d;
+ char *expected_file;
+ char *expected;
GError *error = NULL;
GString *string;
@@ -106,8 +106,8 @@ main (int argc, char *argv[])
{
GDir *dir;
GError *error = NULL;
- const gchar *name;
- gchar *path;
+ const char *name;
+ char *path;
gtk_test_init (&argc, &argv, NULL);