diff options
Diffstat (limited to 'examples/application8')
-rw-r--r-- | examples/application8/exampleapp.c | 4 | ||||
-rw-r--r-- | examples/application8/exampleappwin.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/examples/application8/exampleapp.c b/examples/application8/exampleapp.c index 89389fb52d..62607e40ae 100644 --- a/examples/application8/exampleapp.c +++ b/examples/application8/exampleapp.c @@ -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; diff --git a/examples/application8/exampleappwin.c b/examples/application8/exampleappwin.c index 9a5eb2818c..a598de13e0 100644 --- a/examples/application8/exampleappwin.c +++ b/examples/application8/exampleappwin.c @@ -23,7 +23,7 @@ static void search_text_changed (GtkEntry *entry, ExampleAppWindow *win) { - const gchar *text; + const char *text; GtkWidget *tab; GtkWidget *view; GtkTextBuffer *buffer; @@ -53,7 +53,7 @@ static void find_word (GtkButton *button, ExampleAppWindow *win) { - const gchar *word; + const char *word; word = gtk_button_get_label (button); gtk_editable_set_text (GTK_EDITABLE (win->searchentry), word); @@ -67,7 +67,7 @@ update_words (ExampleAppWindow *win) GtkWidget *tab, *view, *row; GtkTextBuffer *buffer; GtkTextIter start, end; - gchar *word, *key; + char *word, *key; GtkWidget *child; tab = gtk_stack_get_visible_child (GTK_STACK (win->stack)); @@ -212,9 +212,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; |