summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderercombo.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/gtkcellrenderercombo.c
parentd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff)
downloadgtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz
Replace "gchar" with "char"
Diffstat (limited to 'gtk/gtkcellrenderercombo.c')
-rw-r--r--gtk/gtkcellrenderercombo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkcellrenderercombo.c b/gtk/gtkcellrenderercombo.c
index 8272857e44..b8e9daca8b 100644
--- a/gtk/gtkcellrenderercombo.c
+++ b/gtk/gtkcellrenderercombo.c
@@ -89,7 +89,7 @@ static void gtk_cell_renderer_combo_set_property (GObject *object,
static GtkCellEditable *gtk_cell_renderer_combo_start_editing (GtkCellRenderer *cell,
GdkEvent *event,
GtkWidget *widget,
- const gchar *path,
+ const char *path,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags);
@@ -347,8 +347,8 @@ gtk_cell_renderer_combo_editing_done (GtkCellEditable *combo,
{
GtkCellRendererCombo *cell = GTK_CELL_RENDERER_COMBO (data);
GtkCellRendererComboPrivate *priv = gtk_cell_renderer_combo_get_instance_private (cell);
- const gchar *path;
- gchar *new_text = NULL;
+ const char *path;
+ char *new_text = NULL;
GtkTreeModel *model;
GtkTreeIter iter;
GtkEntry *entry;
@@ -416,7 +416,7 @@ find_text (GtkTreeModel *model,
{
SearchData *search_data = (SearchData *)data;
GtkCellRendererComboPrivate *priv = gtk_cell_renderer_combo_get_instance_private (search_data->cell);
- gchar *text, *cell_text;
+ char *text, *cell_text;
gtk_tree_model_get (model, iter, priv->text_column, &text, -1);
g_object_get (GTK_CELL_RENDERER_TEXT (search_data->cell),
@@ -438,7 +438,7 @@ static GtkCellEditable *
gtk_cell_renderer_combo_start_editing (GtkCellRenderer *cell,
GdkEvent *event,
GtkWidget *widget,
- const gchar *path,
+ const char *path,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags)
@@ -448,7 +448,7 @@ gtk_cell_renderer_combo_start_editing (GtkCellRenderer *cell,
GtkWidget *combo;
SearchData search_data;
gboolean editable;
- gchar *text;
+ char *text;
g_object_get (cell, "editable", &editable, NULL);
if (editable == FALSE)