summaryrefslogtreecommitdiff
path: root/gtk/gtkshortcutssection.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/gtkshortcutssection.c
parentd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff)
downloadgtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz
Replace "gchar" with "char"
Diffstat (limited to 'gtk/gtkshortcutssection.c')
-rw-r--r--gtk/gtkshortcutssection.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkshortcutssection.c b/gtk/gtkshortcutssection.c
index bc1c06c7bf..462becb974 100644
--- a/gtk/gtkshortcutssection.c
+++ b/gtk/gtkshortcutssection.c
@@ -59,9 +59,9 @@ struct _GtkShortcutsSection
{
GtkBox parent_instance;
- gchar *name;
- gchar *title;
- gchar *view_name;
+ char *name;
+ char *title;
+ char *view_name;
guint max_height;
GtkStack *stack;
@@ -106,7 +106,7 @@ static GParamSpec *properties[LAST_PROP];
static guint signals[LAST_SIGNAL];
static void gtk_shortcuts_section_set_view_name (GtkShortcutsSection *self,
- const gchar *view_name);
+ const char *view_name);
static void gtk_shortcuts_section_set_max_height (GtkShortcutsSection *self,
guint max_height);
static void gtk_shortcuts_section_add_group (GtkShortcutsSection *self,
@@ -130,7 +130,7 @@ static void
gtk_shortcuts_section_buildable_add_child (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
- const gchar *type)
+ const char *type)
{
if (GTK_IS_SHORTCUTS_GROUP (child))
gtk_shortcuts_section_add_group (GTK_SHORTCUTS_SECTION (buildable), GTK_SHORTCUTS_GROUP (child));
@@ -417,7 +417,7 @@ gtk_shortcuts_section_init (GtkShortcutsSection *self)
static void
gtk_shortcuts_section_set_view_name (GtkShortcutsSection *self,
- const gchar *view_name)
+ const char *view_name)
{
if (g_strcmp0 (self->view_name, view_name) == 0)
return;
@@ -484,7 +484,7 @@ update_group_visibility (GtkWidget *child, gpointer data)
if (GTK_IS_SHORTCUTS_GROUP (child))
{
- gchar *view;
+ char *view;
gboolean match;
g_object_get (child, "view", &view, NULL);