summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererspin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkcellrendererspin.c')
-rw-r--r--gtk/gtkcellrendererspin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkcellrendererspin.c b/gtk/gtkcellrendererspin.c
index 43ee161458..2c5caa0724 100644
--- a/gtk/gtkcellrendererspin.c
+++ b/gtk/gtkcellrendererspin.c
@@ -92,7 +92,7 @@ static gboolean gtk_cell_renderer_spin_key_pressed (GtkEventControllerKey *contr
static GtkCellEditable * gtk_cell_renderer_spin_start_editing (GtkCellRenderer *cell,
GdkEvent *event,
GtkWidget *widget,
- const gchar *path,
+ const char *path,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags);
@@ -252,8 +252,8 @@ gtk_cell_renderer_spin_focus_changed (GtkWidget *widget,
GParamSpec *pspec,
gpointer data)
{
- const gchar *path;
- const gchar *new_text;
+ const char *path;
+ const char *new_text;
gboolean canceled;
if (gtk_widget_has_focus (widget))
@@ -325,7 +325,7 @@ static GtkCellEditable *
gtk_cell_renderer_spin_start_editing (GtkCellRenderer *cell,
GdkEvent *event,
GtkWidget *widget,
- const gchar *path,
+ const char *path,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags)
@@ -334,7 +334,7 @@ gtk_cell_renderer_spin_start_editing (GtkCellRenderer *cell,
GtkCellRendererText *cell_text = GTK_CELL_RENDERER_TEXT (cell);
GtkEventController *key_controller;
gboolean editable;
- gchar *text;
+ char *text;
g_object_get (cell_text, "editable", &editable, NULL);
if (!editable)