Generalize chart loading functions

* ag_app_import_chart() became ag_app_import_file(), and has the potential
  to load any file type
* ag_app_import_cb() so it can open multiple file types
* ag_chart_load_from_file() is now called ag_chart_load_from_agc()
This commit is contained in:
2014-08-10 10:15:04 +02:00
parent a3927458b4
commit a30d19d1bb
5 changed files with 47 additions and 14 deletions

View File

@@ -577,7 +577,7 @@ get_by_xpath(xmlXPathContextPtr xpath_context,
}
AgChart *
ag_chart_load_from_file(GFile *file, GError **err)
ag_chart_load_from_agc(GFile *file, GError **err)
{
AgChart *chart = NULL;
gchar *uri,