Replace "gchar" with "char"

This commit is contained in:
Benjamin Otte
2020-07-24 20:40:36 +02:00
parent d7266b25ba
commit d375dce9f5
667 changed files with 4963 additions and 4963 deletions

View File

@@ -46,7 +46,7 @@ static GActionEntry app_entries[] =
static void
example_app_startup (GApplication *app)
{
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);
@@ -71,7 +71,7 @@ static void
example_app_open (GApplication *app,
GFile **files,
int n_files,
const gchar *hint)
const char *hint)
{
GList *windows;
ExampleAppWindow *win;

View File

@@ -67,9 +67,9 @@ void
example_app_window_open (ExampleAppWindow *win,
GFile *file)
{
gchar *basename;
char *basename;
GtkWidget *scrolled, *view;
gchar *contents;
char *contents;
gsize length;
GtkTextBuffer *buffer;
GtkTextTag *tag;