summaryrefslogtreecommitdiff
path: root/tests/testiconview.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 /tests/testiconview.c
parentd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff)
downloadgtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz
Replace "gchar" with "char"
Diffstat (limited to 'tests/testiconview.c')
-rw-r--r--tests/testiconview.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/testiconview.c b/tests/testiconview.c
index a09aba44f9..b0f8808cf5 100644
--- a/tests/testiconview.c
+++ b/tests/testiconview.c
@@ -131,7 +131,7 @@ add_n_items (GtkIconView *icon_list, int n)
GtkTreeIter iter;
GtkListStore *store;
GdkPixbuf *pixbuf;
- gchar *str, *str2;
+ char *str, *str2;
int i;
store = GTK_LIST_STORE (gtk_icon_view_get_model (icon_list));
@@ -174,7 +174,7 @@ add_large (GtkWidget *button, GtkIconView *icon_list)
GtkTreeIter iter;
GdkPixbuf *pixbuf, *pb;
- gchar *str;
+ char *str;
store = GTK_LIST_STORE (gtk_icon_view_get_model (icon_list));
pixbuf = gdk_pixbuf_new_from_file ("gnome-textfile.png", NULL);
@@ -275,7 +275,7 @@ item_activated (GtkIconView *icon_view,
{
GtkTreeIter iter;
GtkTreeModel *model;
- gchar *text;
+ char *text;
model = gtk_icon_view_get_model (icon_view);
gtk_tree_model_get_iter (model, &iter, path);
@@ -288,7 +288,7 @@ item_activated (GtkIconView *icon_view,
static void
toggled (GtkCellRendererToggle *cell,
- gchar *path_string,
+ char *path_string,
gpointer data)
{
GtkTreeModel *model = GTK_TREE_MODEL (data);
@@ -307,8 +307,8 @@ toggled (GtkCellRendererToggle *cell,
static void
edited (GtkCellRendererText *cell,
- gchar *path_string,
- gchar *new_text,
+ char *path_string,
+ char *new_text,
gpointer data)
{
GtkTreeModel *model = GTK_TREE_MODEL (data);
@@ -391,7 +391,7 @@ popup_menu_handler (GtkWidget *widget)
}
int
-main (int argc, gchar **argv)
+main (int argc, char **argv)
{
GtkWidget *paned, *tv;
GtkWidget *window, *icon_list, *scrolled_window;