diff options
author | Benjamin Otte <otte@redhat.com> | 2020-07-24 20:40:36 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-07-25 00:47:36 +0200 |
commit | d375dce9f52fd9830069a6fd9287abde93d3f24b (patch) | |
tree | cd759ec130e07189ab7f19ebd03b8e89923aaa7f /gtk/gen-paper-names.c | |
parent | d7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff) | |
download | gtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz |
Replace "gchar" with "char"
Diffstat (limited to 'gtk/gen-paper-names.c')
-rw-r--r-- | gtk/gen-paper-names.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gen-paper-names.c b/gtk/gen-paper-names.c index afec5796d8..8d9ea390b5 100644 --- a/gtk/gen-paper-names.c +++ b/gtk/gen-paper-names.c @@ -27,7 +27,7 @@ static const int n_infos = G_N_ELEMENTS (standard_names); static const int n_extra = G_N_ELEMENTS (extra_ppd_names); typedef struct { - const gchar *s; + const char *s; int len; int suffix; int offset; @@ -37,7 +37,7 @@ static NameInfo *names = NULL; static int n_names = 0; static void -add_name (const gchar *name) +add_name (const char *name) { names[n_names].s = name; names[n_names].len = strlen (name); @@ -48,7 +48,7 @@ add_name (const gchar *name) } static int -find_name (const gchar *name) +find_name (const char *name) { int i; @@ -70,12 +70,12 @@ find_name (const gchar *name) #define POINTS_PER_INCH 72 static gboolean -parse_media_size (const gchar *size, +parse_media_size (const char *size, gdouble *width_mm, gdouble *height_mm) { - const gchar *p; - gchar *e; + const char *p; + char *e; gdouble short_dim, long_dim; p = size; |