AppStream.Context.set_filename

### Method

# AppStream Contextset_filename

#### Declaration [src]

    void
    as_context_set_filename (
      AsContext* ctx,
      const gchar* fname
    )

#### Description [src]

Sets the file name we are loading data from.

#### Parameters

`fname`

  Type: `const gchar*`

  The new file name.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.