Lovell Fuller
3e1be7a33a
Merge pull request #107 from papandreou/doNotUnrefUnparsableImages
...
Do not call g_object_unref when imageType comes out as UNKNOWN.
2014-10-23 09:23:37 +01:00
Andreas Lind
005c628352
Do not call g_object_unref when imageType comes out as UNKNOWN.
...
Avoids "(sharp:23220): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed" dumped to the console when an unsupported or invalid image is loaded.
2014-10-23 08:32:23 +02:00
Andreas Lind
1bd316de80
Pass errors as Error instances rather than strings.
2014-10-23 08:27:10 +02:00
Lovell Fuller
8bc1981891
Refactor C++ code
...
Split features into their own file
Style is becoming less C, more C++
2014-10-21 21:38:19 +01:00