summaryrefslogtreecommitdiff
path: root/gtk/gtkinfobar.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/gtkinfobar.c
parentd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff)
downloadgtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz
Replace "gchar" with "char"
Diffstat (limited to 'gtk/gtkinfobar.c')
-rw-r--r--gtk/gtkinfobar.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index 2ddaa3e839..db65bd0926 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -191,13 +191,13 @@ static void gtk_info_bar_buildable_interface_init (GtkBuildableIface *ifa
static gboolean gtk_info_bar_buildable_custom_tag_start (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
- const gchar *tagname,
+ const char *tagname,
GtkBuildableParser *parser,
gpointer *data);
static void gtk_info_bar_buildable_custom_finished (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
- const gchar *tagname,
+ const char *tagname,
gpointer user_data);
static void gtk_info_bar_buildable_add_child (GtkBuildable *buildable,
GtkBuilder *builder,
@@ -609,7 +609,7 @@ gtk_info_bar_remove_action_widget (GtkInfoBar *info_bar,
*/
GtkWidget*
gtk_info_bar_add_button (GtkInfoBar *info_bar,
- const gchar *button_text,
+ const char *button_text,
int response_id)
{
GtkWidget *button;
@@ -629,10 +629,10 @@ gtk_info_bar_add_button (GtkInfoBar *info_bar,
static void
add_buttons_valist (GtkInfoBar *info_bar,
- const gchar *first_button_text,
+ const char *first_button_text,
va_list args)
{
- const gchar* text;
+ const char * text;
int response_id;
g_return_if_fail (GTK_IS_INFO_BAR (info_bar));
@@ -647,7 +647,7 @@ add_buttons_valist (GtkInfoBar *info_bar,
{
gtk_info_bar_add_button (info_bar, text, response_id);
- text = va_arg (args, gchar*);
+ text = va_arg (args, char *);
if (text == NULL)
break;
@@ -669,7 +669,7 @@ add_buttons_valist (GtkInfoBar *info_bar,
*/
void
gtk_info_bar_add_buttons (GtkInfoBar *info_bar,
- const gchar *first_button_text,
+ const char *first_button_text,
...)
{
va_list args;
@@ -708,7 +708,7 @@ gtk_info_bar_new (void)
* Returns: a new #GtkInfoBar
*/
GtkWidget*
-gtk_info_bar_new_with_buttons (const gchar *first_button_text,
+gtk_info_bar_new_with_buttons (const char *first_button_text,
...)
{
GtkInfoBar *info_bar;
@@ -829,7 +829,7 @@ gtk_info_bar_response (GtkInfoBar *info_bar,
typedef struct
{
- gchar *name;
+ char *name;
int response_id;
int line;
int col;
@@ -858,9 +858,9 @@ action_widget_info_free (gpointer data)
static void
parser_start_element (GtkBuildableParseContext *context,
- const gchar *element_name,
- const gchar **names,
- const gchar **values,
+ const char *element_name,
+ const char **names,
+ const char **values,
gpointer user_data,
GError **error)
{
@@ -868,7 +868,7 @@ parser_start_element (GtkBuildableParseContext *context,
if (strcmp (element_name, "action-widget") == 0)
{
- const gchar *response;
+ const char *response;
GValue gvalue = G_VALUE_INIT;
if (!_gtk_builder_check_parent (data->builder, context, "action-widgets", error))
@@ -913,7 +913,7 @@ parser_start_element (GtkBuildableParseContext *context,
static void
parser_text_element (GtkBuildableParseContext *context,
- const gchar *text,
+ const char *text,
gsize text_len,
gpointer user_data,
GError **error)
@@ -926,7 +926,7 @@ parser_text_element (GtkBuildableParseContext *context,
static void
parser_end_element (GtkBuildableParseContext *context,
- const gchar *element_name,
+ const char *element_name,
gpointer user_data,
GError **error)
{
@@ -958,7 +958,7 @@ gboolean
gtk_info_bar_buildable_custom_tag_start (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
- const gchar *tagname,
+ const char *tagname,
GtkBuildableParser *parser,
gpointer *parser_data)
{
@@ -988,7 +988,7 @@ static void
gtk_info_bar_buildable_custom_finished (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
- const gchar *tagname,
+ const char *tagname,
gpointer user_data)
{
GtkInfoBar *info_bar = GTK_INFO_BAR (buildable);