add error reporting to create_preset_from_xml_file

This commit is contained in:
Tomasz Moń
2009-03-17 12:54:46 +01:00
parent cac7e74d71
commit d24cc97f5d
3 changed files with 18 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ typedef struct {
GList *params;
} Preset;
Preset *create_preset_from_xml_file(gchar *filename);
Preset *create_preset_from_xml_file(gchar *filename, GError **error);
Preset *create_preset_from_data(GString *data);
void preset_free(Preset *preset);