summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontextwayland.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 /gtk/gtkimcontextwayland.c
parentd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff)
downloadgtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz
Replace "gchar" with "char"
Diffstat (limited to 'gtk/gtkimcontextwayland.c')
-rw-r--r--gtk/gtkimcontextwayland.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkimcontextwayland.c b/gtk/gtkimcontextwayland.c
index d9144e30fd..9b0b48898c 100644
--- a/gtk/gtkimcontextwayland.c
+++ b/gtk/gtkimcontextwayland.c
@@ -55,7 +55,7 @@ struct _GtkIMContextWaylandClass
};
struct preedit {
- gchar *text;
+ char *text;
int cursor_begin;
int cursor_end;
};
@@ -75,7 +75,7 @@ struct _GtkIMContextWayland
gdouble press_y;
struct {
- gchar *text;
+ char *text;
int cursor_idx;
int anchor_idx;
} surrounding;
@@ -87,7 +87,7 @@ struct _GtkIMContextWayland
struct preedit current_preedit;
struct preedit pending_preedit;
- gchar *pending_commit;
+ char *pending_commit;
cairo_rectangle_int_t cursor_rect;
guint use_preedit : 1;
@@ -278,7 +278,7 @@ notify_surrounding_text (GtkIMContextWayland *context)
{
#define MAX_LEN 4000
GtkIMContextWaylandGlobal *global;
- const gchar *start, *end;
+ const char *start, *end;
int len, cursor, anchor;
char *str = NULL;
@@ -570,7 +570,7 @@ gtk_im_context_wayland_set_client_widget (GtkIMContext *context,
static void
gtk_im_context_wayland_get_preedit_string (GtkIMContext *context,
- gchar **str,
+ char **str,
PangoAttrList **attrs,
int *cursor_pos)
{
@@ -858,7 +858,7 @@ gtk_im_context_wayland_set_use_preedit (GtkIMContext *context,
static void
gtk_im_context_wayland_set_surrounding (GtkIMContext *context,
- const gchar *text,
+ const char *text,
int len,
int cursor_index)
{
@@ -882,7 +882,7 @@ gtk_im_context_wayland_set_surrounding (GtkIMContext *context,
static gboolean
gtk_im_context_wayland_get_surrounding (GtkIMContext *context,
- gchar **text,
+ char **text,
int *cursor_index)
{
GtkIMContextWayland *context_wayland;