diff --git a/glib/goption.c b/glib/goption.c index 530e0cdba..c1b085c19 100644 --- a/glib/goption.c +++ b/glib/goption.c @@ -56,7 +56,7 @@ typedef struct gpointer arg_data; union { - gboolean bool; + gboolean boolean; gint integer; gchar *str; gchar **array; @@ -1585,7 +1585,7 @@ free_changes_list (GOptionContext *context, switch (change->arg_type) { case G_OPTION_ARG_NONE: - *(gboolean *)change->arg_data = change->prev.bool; + *(gboolean *)change->arg_data = change->prev.boolean; break; case G_OPTION_ARG_INT: *(gint *)change->arg_data = change->prev.integer;