Replace "gchar" with "char"
This commit is contained in:
@@ -39,7 +39,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);
|
||||
|
||||
@@ -64,7 +64,7 @@ static void
|
||||
example_app_open (GApplication *app,
|
||||
GFile **files,
|
||||
int n_files,
|
||||
const gchar *hint)
|
||||
const char *hint)
|
||||
{
|
||||
GList *windows;
|
||||
ExampleAppWindow *win;
|
||||
|
||||
@@ -46,9 +46,9 @@ void
|
||||
example_app_window_open (ExampleAppWindow *win,
|
||||
GFile *file)
|
||||
{
|
||||
gchar *basename;
|
||||
char *basename;
|
||||
GtkWidget *scrolled, *view;
|
||||
gchar *contents;
|
||||
char *contents;
|
||||
gsize length;
|
||||
|
||||
basename = g_file_get_basename (file);
|
||||
|
||||
Reference in New Issue
Block a user