static void arv_gc_boolean_set_integer_value (ArvGcInteger *gc_integer, gint64 value, GError **error) { ArvGcBoolean *gc_boolean = ARV_GC_BOOLEAN (gc_integer); return arv_gc_boolean_set_value (gc_boolean, value != 0, error); }
static void arv_gc_boolean_set_value_from_string (ArvGcFeatureNode *node, const char *string, GError **error) { GError *local_error = NULL; arv_gc_boolean_set_value (ARV_GC_BOOLEAN (node), g_strcmp0 (string, "true") == 0, &local_error); if (local_error != NULL) g_propagate_error (error, local_error); }
static void arv_gc_boolean_set_value_from_string (ArvGcFeatureNode *node, const char *string) { arv_gc_boolean_set_value (ARV_GC_BOOLEAN (node), g_strcmp0 (string, "true") == 0); }