summaryrefslogtreecommitdiff
path: root/gtk/gtkapplicationaccels.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-07-24 20:40:36 +0200
committerBenjamin Otte <otte@redhat.com>2020-07-25 00:47:36 +0200
commitd375dce9f52fd9830069a6fd9287abde93d3f24b (patch)
treecd759ec130e07189ab7f19ebd03b8e89923aaa7f /gtk/gtkapplicationaccels.c
parentd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff)
downloadgtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz
Replace "gchar" with "char"
Diffstat (limited to 'gtk/gtkapplicationaccels.c')
-rw-r--r--gtk/gtkapplicationaccels.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/gtk/gtkapplicationaccels.c b/gtk/gtkapplicationaccels.c
index cdbaafe3cb..8ac33f8526 100644
--- a/gtk/gtkapplicationaccels.c
+++ b/gtk/gtkapplicationaccels.c
@@ -70,10 +70,10 @@ gtk_application_accels_new (void)
void
gtk_application_accels_set_accels_for_action (GtkApplicationAccels *accels,
- const gchar *detailed_action_name,
- const gchar * const *accelerators)
+ const char *detailed_action_name,
+ const char * const *accelerators)
{
- gchar *action_name;
+ char *action_name;
GVariant *target;
GtkShortcut *shortcut;
GtkShortcutTrigger *trigger = NULL;
@@ -173,9 +173,9 @@ append_accelerators (GPtrArray *accels,
}
}
-gchar **
+char **
gtk_application_accels_get_accels_for_action (GtkApplicationAccels *accels,
- const gchar *detailed_action_name)
+ const char *detailed_action_name)
{
GPtrArray *result;
char *action_name;
@@ -190,7 +190,7 @@ gtk_application_accels_get_accels_for_action (GtkApplicationAccels *accels,
g_critical ("Error parsing action name: %s", error->message);
g_error_free (error);
g_ptr_array_add (result, NULL);
- return (gchar **) g_ptr_array_free (result, FALSE);
+ return (char **) g_ptr_array_free (result, FALSE);
}
for (i = 0; i < g_list_model_get_n_items (accels->shortcuts); i++)
@@ -222,7 +222,7 @@ gtk_application_accels_get_accels_for_action (GtkApplicationAccels *accels,
if (target)
g_variant_unref (target);
g_ptr_array_add (result, NULL);
- return (gchar **) g_ptr_array_free (result, FALSE);
+ return (char **) g_ptr_array_free (result, FALSE);
}
static gboolean
@@ -262,9 +262,9 @@ get_detailed_name_for_shortcut (GtkShortcut *shortcut)
gtk_shortcut_get_arguments (shortcut));
}
-gchar **
+char **
gtk_application_accels_get_actions_for_accel (GtkApplicationAccels *accels,
- const gchar *accel)
+ const char *accel)
{
GPtrArray *result;
guint key, modifiers;
@@ -297,10 +297,10 @@ gtk_application_accels_get_actions_for_accel (GtkApplicationAccels *accels,
}
g_ptr_array_add (result, NULL);
- return (gchar **) g_ptr_array_free (result, FALSE);
+ return (char **) g_ptr_array_free (result, FALSE);
}
-gchar **
+char **
gtk_application_accels_list_action_descriptions (GtkApplicationAccels *accels)
{
GPtrArray *result;
@@ -321,7 +321,7 @@ gtk_application_accels_list_action_descriptions (GtkApplicationAccels *accels)
}
g_ptr_array_add (result, NULL);
- return (gchar **) g_ptr_array_free (result, FALSE);
+ return (char **) g_ptr_array_free (result, FALSE);
}
GListModel *