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 /docs | |
parent | d7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff) | |
download | gtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz |
Replace "gchar" with "char"
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CODING-STYLE.md | 8 | ||||
-rw-r--r-- | docs/reference/gtk/getting_started.md | 6 | ||||
-rw-r--r-- | docs/reference/gtk/section-tree-widget.md | 2 | ||||
-rw-r--r-- | docs/tools/widgets.c | 2 | ||||
-rw-r--r-- | docs/tools/widgets.h | 2 |
5 files changed, 10 insertions, 10 deletions
diff --git a/docs/CODING-STYLE.md b/docs/CODING-STYLE.md index 3fc2e0c101..e0f3ca13ca 100644 --- a/docs/CODING-STYLE.md +++ b/docs/CODING-STYLE.md @@ -474,10 +474,10 @@ The maximum width of each column is given by the longest element in the column: ```c - void gtk_type_set_property (GtkType *type, - const gchar *value, - GError **error); - const gchar *gtk_type_get_property (GtkType *type); + void gtk_type_set_property (GtkType *type, + const char *value, + GError **error); + const char *gtk_type_get_property (GtkType *type); ``` It is also possible to align the columns to the next tab: diff --git a/docs/reference/gtk/getting_started.md b/docs/reference/gtk/getting_started.md index 6252defd18..d3b62b437c 100644 --- a/docs/reference/gtk/getting_started.md +++ b/docs/reference/gtk/getting_started.md @@ -798,7 +798,7 @@ static void example_app_open (GApplication *app, GFile **files, int n_files, - const gchar *hint) + const char *hint) { GList *windows; ExampleAppWindow *win; @@ -1138,7 +1138,7 @@ example_app_startup (GApplication *app) { GtkBuilder *builder; GMenuModel *app_menu; - const gchar *quit_accels[2] = { "<Ctrl>Q", NULL }; + const char *quit_accels[2] = { "<Ctrl>Q", NULL }; G_APPLICATION_CLASS (example_app_parent_class)->startup (app); @@ -1476,7 +1476,7 @@ static void search_text_changed (GtkEntry *entry, ExampleAppWindow *win) { - const gchar *text; + const char *text; GtkWidget *tab; GtkWidget *view; GtkTextBuffer *buffer; diff --git a/docs/reference/gtk/section-tree-widget.md b/docs/reference/gtk/section-tree-widget.md index b51cd3fb7a..fd6978a626 100644 --- a/docs/reference/gtk/section-tree-widget.md +++ b/docs/reference/gtk/section-tree-widget.md @@ -189,7 +189,7 @@ tree_selection_changed_cb (GtkTreeSelection *selection, gpointer data) { GtkTreeIter iter; GtkTreeModel *model; - gchar *author; + char *author; if (gtk_tree_selection_get_selected (selection, &model, &iter)) { diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c index 1a42dd2cbe..93aeb2ab52 100644 --- a/docs/tools/widgets.c +++ b/docs/tools/widgets.c @@ -797,7 +797,7 @@ static WidgetInfo * create_about_dialog (void) { GtkWidget *widget; - const gchar *authors[] = { + const char *authors[] = { "Peter Mattis", "Spencer Kimball", "Josh MacDonald", diff --git a/docs/tools/widgets.h b/docs/tools/widgets.h index c9ac2b4c86..2e337038d6 100644 --- a/docs/tools/widgets.h +++ b/docs/tools/widgets.h @@ -15,7 +15,7 @@ typedef enum typedef struct WidgetInfo { GtkWidget *window; - gchar *name; + char *name; gboolean no_focus; gboolean include_decorations; WidgetSize size; |