evas_vg_load_svg: get rid of static Evas_SVG_Parsing
authorVitalii Vorobiov <vi.vorobiov@samsung.com>
Tue, 7 Nov 2017 02:41:36 +0000 (11:41 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 7 Nov 2017 02:54:09 +0000 (11:54 +0900)
commitee93543799fc4ccf72a0cbf43a2c3efe5c61d6d3
treeaba6f64632b450ff67ef3fde881a757715b93ba7
parent66e0caccb7cfc15daf362c75f1b28689d2d2ab02
evas_vg_load_svg: get rid of static Evas_SVG_Parsing

Summary:
Refactoring.
It is good to store values from that struct in a parsing/loading context

static variable is a big NO NO:
1. Ugly code design,
2. Might not work when trying to load more than one SVG file.

@fix

Reviewers: jpeg, smohanty

Subscribers: jenkins, cedric

Differential Revision: https://phab.enlightenment.org/D5399
src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c