Replace "gchar" with "char"
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user