]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
6 years agovala: Compact classes don't allow private/class fields and to lock fields
Rico Tzschichholz [Sat, 17 Nov 2018 14:02:01 +0000 (15:02 +0100)] 
vala: Compact classes don't allow private/class fields and to lock fields

This conveniently moves 2 error reports from codegen to semantic check too.

6 years agovala: Remove superfluous return_if_fail()
Rico Tzschichholz [Sat, 17 Nov 2018 12:51:14 +0000 (13:51 +0100)] 
vala: Remove superfluous return_if_fail()

6 years agotests: Add "static fields" to compact class to increase coverage
Rico Tzschichholz [Sat, 17 Nov 2018 16:22:36 +0000 (17:22 +0100)] 
tests: Add "static fields" to compact class to increase coverage

6 years agotests: Add bug specific "lock test"
Rico Tzschichholz [Sat, 17 Nov 2018 15:10:04 +0000 (16:10 +0100)] 
tests: Add bug specific "lock test"

https://bugzilla.gnome.org/show_bug.cgi?id=629593

6 years agogenieparser: Use dedicated Class.add_constructor/destructor() methods
Rico Tzschichholz [Sat, 17 Nov 2018 12:34:07 +0000 (13:34 +0100)] 
genieparser: Use dedicated Class.add_constructor/destructor() methods

6 years agotests: Add more GLib.Array tests
Corentin Noël [Fri, 16 Nov 2018 13:55:00 +0000 (14:55 +0100)] 
tests: Add more GLib.Array tests

6 years agocodegen: Add destroy function for GLib.Array
Corentin Noël [Fri, 16 Nov 2018 07:19:55 +0000 (08:19 +0100)] 
codegen: Add destroy function for GLib.Array

Fixes https://gitlab.gnome.org/GNOME/vala/issues/572

6 years agoglib-2.0: Avoid double-free in GLib.Array if clear_func is set
Corentin Noël [Fri, 16 Nov 2018 13:55:00 +0000 (14:55 +0100)] 
glib-2.0: Avoid double-free in GLib.Array if clear_func is set

6 years agoglib-2.0: Add missing Array.set_clear_func() binding
Rico Tzschichholz [Fri, 16 Nov 2018 13:26:50 +0000 (14:26 +0100)] 
glib-2.0: Add missing Array.set_clear_func() binding

6 years agolibvaladoc: Use Scanner.get_identifier_or_keyword() instead of outdated copy
Rico Tzschichholz [Thu, 15 Nov 2018 21:44:46 +0000 (22:44 +0100)] 
libvaladoc: Use Scanner.get_identifier_or_keyword() instead of outdated copy

6 years agotests: Add enum/errordomain tests for GIR parser to increase coverage
Rico Tzschichholz [Thu, 15 Nov 2018 09:23:55 +0000 (10:23 +0100)] 
tests: Add enum/errordomain tests for GIR parser to increase coverage

6 years agodoc: Include dependencies for internal-api-docs to get reference linking
Rico Tzschichholz [Wed, 14 Nov 2018 21:17:43 +0000 (22:17 +0100)] 
doc: Include dependencies for internal-api-docs to get reference linking

6 years agovaladoc/html: Skip package dependency if target directory already exists
Rico Tzschichholz [Wed, 14 Nov 2018 21:12:54 +0000 (22:12 +0100)] 
valadoc/html: Skip package dependency if target directory already exists

Simply assume we already generated the documentation for this dependency
in a previous invocation running with --deps.

6 years agolibvaladoc: Add type_id to Api.Enum/Interface
Rico Tzschichholz [Wed, 14 Nov 2018 18:55:43 +0000 (19:55 +0100)] 
libvaladoc: Add type_id to Api.Enum/Interface

6 years agolibvaladoc: Link against private libvalaccodegen
Rico Tzschichholz [Tue, 12 Jun 2018 13:15:16 +0000 (15:15 +0200)] 
libvaladoc: Link against private libvalaccodegen

6 years agolibvaladoc: Actually assign type_id of Api.Structs
Rico Tzschichholz [Wed, 14 Nov 2018 14:44:43 +0000 (15:44 +0100)] 
libvaladoc: Actually assign type_id of Api.Structs

6 years agolibvaladoc/html: Sort symbols and members where possible
Rico Tzschichholz [Wed, 14 Nov 2018 17:44:53 +0000 (18:44 +0100)] 
libvaladoc/html: Sort symbols and members where possible

6 years agolibvaladoc: Match property signature with vala's codewriter
Rico Tzschichholz [Wed, 14 Nov 2018 13:49:22 +0000 (14:49 +0100)] 
libvaladoc: Match property signature with vala's codewriter

6 years agocodegen: Transfer ownership of compact class to DestroysInstance method
Rico Tzschichholz [Fri, 9 Nov 2018 14:21:16 +0000 (15:21 +0100)] 
codegen: Transfer ownership of compact class to DestroysInstance method

Otherwise it is impossible to call an instance method of a compact class
which is a destructor.

See https://gitlab.gnome.org/GNOME/vala/issues/645

6 years agogio-2.0: Add missing File.new_build_filename()
Corentin Noël [Tue, 13 Nov 2018 05:57:36 +0000 (06:57 +0100)] 
gio-2.0: Add missing File.new_build_filename()

6 years agoglib-2.0: Replace ctype ccode-attributes with type
Rico Tzschichholz [Mon, 16 Jul 2018 19:08:22 +0000 (21:08 +0200)] 
glib-2.0: Replace ctype ccode-attributes with type

6 years agogio-2.0: Replace finish_function ccode-attributes with finish_name
Rico Tzschichholz [Mon, 16 Jul 2018 17:25:55 +0000 (19:25 +0200)] 
gio-2.0: Replace finish_function ccode-attributes with finish_name

6 years agovapi: Some random fixes on old bindings
Rico Tzschichholz [Thu, 8 Nov 2018 18:36:54 +0000 (19:36 +0100)] 
vapi: Some random fixes on old bindings

6 years agovala: Copy CCode instance_pos argument from virtual/abstract base methods
Rico Tzschichholz [Thu, 8 Nov 2018 11:48:20 +0000 (12:48 +0100)] 
vala: Copy CCode instance_pos argument from virtual/abstract base methods

https://bugzilla.gnome.org/show_bug.cgi?id=540483

6 years agovala: Add CodeNode.copy_attribute_*() helper methods
Rico Tzschichholz [Thu, 8 Nov 2018 11:45:24 +0000 (12:45 +0100)] 
vala: Add CodeNode.copy_attribute_*() helper methods

Provides an easy way to copy a specific attribute argument from another
code node if the source has it set.

6 years agotests: Avoid use of g_ptr_array_find() which requires glib >= 2.54
Rico Tzschichholz [Mon, 12 Nov 2018 09:27:45 +0000 (10:27 +0100)] 
tests: Avoid use of g_ptr_array_find() which requires glib >= 2.54

6 years agotests: Add GenericArray (GPtrArray) tests
Rico Tzschichholz [Thu, 8 Nov 2018 11:10:07 +0000 (12:10 +0100)] 
tests: Add GenericArray (GPtrArray) tests

6 years agocodegen: Fix method pointer cast if instance isn't at first position
Rico Tzschichholz [Wed, 7 Nov 2018 22:00:18 +0000 (23:00 +0100)] 
codegen: Fix method pointer cast if instance isn't at first position

By unconditionally putting the instance at first position the CCode
instance_pos attribute was not accounted for.

6 years agoRelease 0.42.3 0.42.3
Rico Tzschichholz [Wed, 7 Nov 2018 16:23:58 +0000 (17:23 +0100)] 
Release 0.42.3

6 years agogstreamer: Update from 1.15+ git master
Rico Tzschichholz [Wed, 7 Nov 2018 14:21:27 +0000 (15:21 +0100)] 
gstreamer: Update from 1.15+ git master

6 years agogio-2.0: Result of DBusMessage.get_header() is unowned
Rico Tzschichholz [Wed, 7 Nov 2018 11:15:25 +0000 (12:15 +0100)] 
gio-2.0: Result of DBusMessage.get_header() is unowned

6 years agogtk+-4.0: Update to 3.94.0+b4b30b49
Rico Tzschichholz [Wed, 7 Nov 2018 09:11:01 +0000 (10:11 +0100)] 
gtk+-4.0: Update to 3.94.0+b4b30b49

6 years agoglib-2.0: Add array length to string.skip
Alistair Thomas [Tue, 6 Nov 2018 10:51:39 +0000 (10:51 +0000)] 
glib-2.0: Add array length to string.skip

Fixes https://gitlab.gnome.org/GNOME/vala/issues/695

6 years agovala: Don't check for GLib.Variant casting in POSIX profile
Rico Tzschichholz [Tue, 6 Nov 2018 13:08:03 +0000 (14:08 +0100)] 
vala: Don't check for GLib.Variant casting in POSIX profile

6 years agocodegen: Add prototype for *_new() of abstact compact classes
Rico Tzschichholz [Mon, 5 Nov 2018 07:28:08 +0000 (08:28 +0100)] 
codegen: Add prototype for *_new() of abstact compact classes

Found with -Werror=missing-prototypes

6 years agocodegen: Don't emit *_free() of derived compact classes
Rico Tzschichholz [Sun, 4 Nov 2018 21:49:04 +0000 (22:49 +0100)] 
codegen: Don't emit *_free() of derived compact classes

Found with -Werror=missing-prototypes

6 years agocodegen: Add prototype for *_register_type() function
Rico Tzschichholz [Sun, 4 Nov 2018 19:22:22 +0000 (20:22 +0100)] 
codegen: Add prototype for *_register_type() function

Found with -Werror=missing-prototypes

6 years agocodegen: Add replacement for G_(BEGIN|END)_DECLS in non GOBJECT profile
Alistair Thomas [Sat, 3 Nov 2018 13:28:52 +0000 (14:28 +0100)] 
codegen: Add replacement for G_(BEGIN|END)_DECLS in non GOBJECT profile

Fixes https://gitlab.gnome.org/GNOME/vala/issues/622

6 years agolibvaladoc: Add "unlock" to keywords in Highligher
Rico Tzschichholz [Sat, 3 Nov 2018 13:26:47 +0000 (14:26 +0100)] 
libvaladoc: Add "unlock" to keywords in Highligher

6 years agovala: Fix TokenType.HASH.to_string()
Rico Tzschichholz [Sat, 3 Nov 2018 13:11:51 +0000 (14:11 +0100)] 
vala: Fix TokenType.HASH.to_string()

6 years agocodegen: Initialize internal temp-variables used as reference parameter
Rico Tzschichholz [Thu, 1 Nov 2018 23:03:45 +0000 (00:03 +0100)] 
codegen: Initialize internal temp-variables used as reference parameter

When casting Variant to multi-dimensional arrays the length fields are
used as out-parameters and needs to be initialized. They are not guaranteed
to be all set in _variant_get*() in this case.

Fixes tests with -Werror=maybe-uninitialized

6 years agoglib-2.0: Add binding for g_test_add()
Rico Tzschichholz [Sun, 8 Oct 2017 11:14:32 +0000 (13:14 +0200)] 
glib-2.0: Add binding for g_test_add()

Fixes https://gitlab.gnome.org/GNOME/vala/issues/524

6 years agocodegen: Fix regex literal compile flags
Ali Sabil [Thu, 1 Nov 2018 13:06:52 +0000 (14:06 +0100)] 
codegen: Fix regex literal compile flags

The GRegex GRegexCompileFlags were declared as GRegexMatchFlags, leading
to a C compiler warning.

6 years agoglib-2.0: Computing length once is enough in string.to_utf8()/splice()
Rico Tzschichholz [Tue, 30 Oct 2018 08:00:01 +0000 (09:00 +0100)] 
glib-2.0: Computing length once is enough in string.to_utf8()/splice()

6 years agotests: Add more string method tests
Rico Tzschichholz [Tue, 30 Oct 2018 08:54:56 +0000 (09:54 +0100)] 
tests: Add more string method tests

6 years agotests: Make "/errors/errors" test fatal
Rico Tzschichholz [Mon, 29 Oct 2018 16:17:36 +0000 (17:17 +0100)] 
tests: Make "/errors/errors" test fatal

6 years agodoc: Fix build of internal-api-docs
Rico Tzschichholz [Mon, 29 Oct 2018 15:39:29 +0000 (16:39 +0100)] 
doc: Fix build of internal-api-docs

6 years agomanual: Update from wiki.gnome.org
Rico Tzschichholz [Sun, 28 Oct 2018 08:12:38 +0000 (09:12 +0100)] 
manual: Update from wiki.gnome.org

6 years agovala: Implement check() for StatementList
Rico Tzschichholz [Wed, 24 Oct 2018 12:05:09 +0000 (14:05 +0200)] 
vala: Implement check() for StatementList

6 years agocodegen: Improve ccode for fixed-length array parameters
Rico Tzschichholz [Tue, 11 Oct 2016 09:05:23 +0000 (11:05 +0200)] 
codegen: Improve ccode for fixed-length array parameters

https://gitlab.gnome.org/GNOME/vala/issues/163

6 years agogobject-2.0,gtk+-*.0: Fix some GLib.Value out/ref parameters
Rico Tzschichholz [Mon, 13 Aug 2018 14:48:46 +0000 (16:48 +0200)] 
gobject-2.0,gtk+-*.0: Fix some GLib.Value out/ref parameters

This is required due to GLib.Value being bound as struct.

6 years agovala: DataType for GLib.Error should be should resolved as ErrorType
Rico Tzschichholz [Tue, 23 Oct 2018 13:57:29 +0000 (15:57 +0200)] 
vala: DataType for GLib.Error should be should resolved as ErrorType

6 years agovala: Fix several AST construction/parenting issues
Rico Tzschichholz [Tue, 23 Oct 2018 11:40:54 +0000 (13:40 +0200)] 
vala: Fix several AST construction/parenting issues

6 years agotestrunner: Reset $run_prefix before generating next test script
Rico Tzschichholz [Sat, 27 Oct 2018 13:21:30 +0000 (15:21 +0200)] 
testrunner: Reset $run_prefix before generating next test script

6 years agotests: Add some "using directive" tests to increase coverage
Rico Tzschichholz [Sat, 27 Oct 2018 10:43:19 +0000 (12:43 +0200)] 
tests: Add some "using directive" tests to increase coverage

6 years agotests: Add "captured unassigned local variable" test
Rico Tzschichholz [Fri, 26 Oct 2018 11:41:01 +0000 (13:41 +0200)] 
tests: Add "captured unassigned local variable" test

6 years agotests: Add "assigned local variables" tests
Rico Tzschichholz [Fri, 26 Oct 2018 07:12:21 +0000 (09:12 +0200)] 
tests: Add "assigned local variables" tests

6 years agotests: Add implicit conversion tests for GLib.Variant
Rico Tzschichholz [Thu, 25 Oct 2018 11:26:46 +0000 (13:26 +0200)] 
tests: Add implicit conversion tests for GLib.Variant

6 years agovala: Fix and add more to_string() methods to expressions
Luca Bruno [Tue, 3 Jan 2012 12:03:53 +0000 (13:03 +0100)] 
vala: Fix and add more to_string() methods to expressions

6 years agovala: Implement get_*_variables() for ConditionalExpression
Rico Tzschichholz [Wed, 24 Oct 2018 12:51:17 +0000 (14:51 +0200)] 
vala: Implement get_*_variables() for ConditionalExpression

6 years agovala: Add missing replace_expression() implementations
Luca Bruno [Thu, 29 Dec 2011 11:39:15 +0000 (12:39 +0100)] 
vala: Add missing replace_expression() implementations

6 years agovala: Add some missing type copying
Rico Tzschichholz [Tue, 23 Oct 2018 13:05:30 +0000 (15:05 +0200)] 
vala: Add some missing type copying

6 years agovala: Add source_reference to local variable of catch-clause
Rico Tzschichholz [Tue, 23 Oct 2018 11:46:34 +0000 (13:46 +0200)] 
vala: Add source_reference to local variable of catch-clause

6 years agovala: Always analyze nodes after they are inserted into the AST
Luca Bruno [Fri, 5 Aug 2011 15:22:18 +0000 (17:22 +0200)] 
vala: Always analyze nodes after they are inserted into the AST

6 years agogstreamer: Update from 1.15+ git master
Rico Tzschichholz [Sun, 21 Oct 2018 11:19:01 +0000 (13:19 +0200)] 
gstreamer: Update from 1.15+ git master

6 years agogirwriter: Fix ctype of out/ref and array parameters
Rico Tzschichholz [Fri, 19 Oct 2018 15:21:39 +0000 (17:21 +0200)] 
girwriter: Fix ctype of out/ref and array parameters

6 years agotests: Add "method override with compatible delegate parameter" test
Rico Tzschichholz [Fri, 19 Oct 2018 13:58:11 +0000 (15:58 +0200)] 
tests: Add "method override with compatible delegate parameter" test

6 years agotest: Add some invalid "non-null" tests
Rico Tzschichholz [Tue, 16 Oct 2018 19:19:45 +0000 (21:19 +0200)] 
test: Add some invalid "non-null" tests

6 years agoccode: Fix typo and actually check "end_decls"
Rico Tzschichholz [Tue, 9 Oct 2018 06:28:33 +0000 (08:28 +0200)] 
ccode: Fix typo and actually check "end_decls"

Note both begin_decls and end_decls must be either not null or null.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/672

6 years agocodegen: Initialize internal temp-variables used as reference parameter
Rico Tzschichholz [Mon, 8 Oct 2018 19:03:50 +0000 (21:03 +0200)] 
codegen: Initialize internal temp-variables used as reference parameter

Variables for delegate-targets and array-lengths passed as reference in
method calls should be initialized to fix "make check" with -O3.

6 years agogstreamer: Update from 1.15+ git master
Rico Tzschichholz [Sun, 7 Oct 2018 17:36:24 +0000 (19:36 +0200)] 
gstreamer: Update from 1.15+ git master

6 years agocodegen: Make unreachable error an internal error
Rico Tzschichholz [Thu, 4 Oct 2018 12:28:31 +0000 (14:28 +0200)] 
codegen: Make unreachable error an internal error

This is meant to be caught in ElementAccess.check()

6 years agocodegen: Replace invalid array-length assert with internal error
Rico Tzschichholz [Thu, 4 Oct 2018 12:02:18 +0000 (14:02 +0200)] 
codegen: Replace invalid array-length assert with internal error

While the test-suite triggers this assert with an invalid test an explicit
crash is not wanted.

6 years agotests: Extent "girwriter" test to increase coverage
Rico Tzschichholz [Mon, 24 Sep 2018 13:29:15 +0000 (15:29 +0200)] 
tests: Extent "girwriter" test to increase coverage

6 years agobuild: Unconditionally add conditional VALAFLAGS to make bootstrap
Rico Tzschichholz [Wed, 26 Sep 2018 07:48:11 +0000 (09:48 +0200)] 
build: Unconditionally add conditional VALAFLAGS to make bootstrap

This avoids another configure pass after an initial build with an older
valac <= 0.39.5.8.

See https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/44

6 years agoRelease 0.42.2 0.42.2
Rico Tzschichholz [Mon, 24 Sep 2018 07:04:44 +0000 (09:04 +0200)] 
Release 0.42.2

6 years agogstreamer: Update from 1.15+ git master
Rico Tzschichholz [Sun, 23 Sep 2018 10:30:17 +0000 (12:30 +0200)] 
gstreamer: Update from 1.15+ git master

6 years agogtk+-4.0: Update to 3.94.0+d90e2733
Rico Tzschichholz [Sun, 23 Sep 2018 08:48:58 +0000 (10:48 +0200)] 
gtk+-4.0: Update to 3.94.0+d90e2733

6 years agovapi: Update GIDL-based bindings to fix unsupported type-arguments
Rico Tzschichholz [Thu, 20 Sep 2018 13:43:06 +0000 (15:43 +0200)] 
vapi: Update GIDL-based bindings to fix unsupported type-arguments

6 years agotests: Don't use deprecated syntax to connect signals
Rico Tzschichholz [Sun, 23 Sep 2018 07:42:19 +0000 (09:42 +0200)] 
tests: Don't use deprecated syntax to connect signals

6 years agotests: Add some invalid "signal" tests to increase coverage
Rico Tzschichholz [Sat, 22 Sep 2018 16:30:17 +0000 (18:30 +0200)] 
tests: Add some invalid "signal" tests to increase coverage

6 years agotests: Add some "yield" test to increase coverage
Rico Tzschichholz [Sat, 22 Sep 2018 12:44:09 +0000 (14:44 +0200)] 
tests: Add some "yield" test to increase coverage

6 years agotests: Add invalid "object creation" tests to increase coverage
Rico Tzschichholz [Sat, 22 Sep 2018 08:42:55 +0000 (10:42 +0200)] 
tests: Add invalid "object creation" tests to increase coverage

6 years agotests: Update field "owned to unowned" test to increase coverage
Rico Tzschichholz [Sat, 22 Sep 2018 06:31:51 +0000 (08:31 +0200)] 
tests: Update field "owned to unowned" test to increase coverage

6 years agotests: Add invalid variable declaration tests to increase coverage
Rico Tzschichholz [Fri, 21 Sep 2018 20:53:18 +0000 (22:53 +0200)] 
tests: Add invalid variable declaration tests to increase coverage

6 years agotests: Add invalid "property for Object() chainup" tests to increase coverage
Rico Tzschichholz [Fri, 21 Sep 2018 16:12:49 +0000 (18:12 +0200)] 
tests: Add invalid "property for Object() chainup" tests to increase coverage

6 years agotests: Add invalid "construct without GObject" test to increase coverage
Rico Tzschichholz [Fri, 21 Sep 2018 15:47:06 +0000 (17:47 +0200)] 
tests: Add invalid "construct without GObject" test to increase coverage

6 years agotests: Add invalid "method to delegate" test to increase coverage
Rico Tzschichholz [Fri, 21 Sep 2018 15:34:00 +0000 (17:34 +0200)] 
tests: Add invalid "method to delegate" test to increase coverage

6 years agotests: Add invalid "duplicating instance" test to increase coverage
Rico Tzschichholz [Fri, 21 Sep 2018 14:22:56 +0000 (16:22 +0200)] 
tests: Add invalid "duplicating instance" test to increase coverage

6 years agotests: Add "missing class prerequisite for interface" test to increase coverage
Rico Tzschichholz [Fri, 21 Sep 2018 13:59:56 +0000 (15:59 +0200)] 
tests: Add "missing class prerequisite for interface" test to increase coverage

6 years agotests: Add "GenericAccessors" tests to increase coverage
Rico Tzschichholz [Fri, 21 Sep 2018 13:48:12 +0000 (15:48 +0200)] 
tests: Add "GenericAccessors" tests to increase coverage

6 years agotests: Add invalid "array concatenation" test to increase coverage
Rico Tzschichholz [Fri, 21 Sep 2018 13:14:05 +0000 (15:14 +0200)] 
tests: Add invalid "array concatenation" test to increase coverage

6 years agotests: Add "unsupported use of length field" test to increase coverage
Rico Tzschichholz [Fri, 21 Sep 2018 13:03:42 +0000 (15:03 +0200)] 
tests: Add "unsupported use of length field" test to increase coverage

6 years agocodewriter: Prepend "yield" if is_yield_expression is set on MethodCall/ObjectCreatio...
Rico Tzschichholz [Sat, 22 Sep 2018 12:49:33 +0000 (14:49 +0200)] 
codewriter: Prepend "yield" if is_yield_expression is set on MethodCall/ObjectCreationExpression

6 years agoglib-2.0: Add feature_test_macro details for Time struct's methods
Alistair Thomas [Thu, 20 Sep 2018 18:54:18 +0000 (19:54 +0100)] 
glib-2.0: Add feature_test_macro details for Time struct's methods

6 years agoglib-2.0: Set DateTime.now () to use local time zone as the default
Alistair Thomas [Mon, 2 Jul 2018 23:29:23 +0000 (00:29 +0100)] 
glib-2.0: Set DateTime.now () to use local time zone as the default

6 years agovaladoc: Fix some string escaping which gettext complains about
Rico Tzschichholz [Thu, 19 Apr 2018 21:58:31 +0000 (23:58 +0200)] 
valadoc: Fix some string escaping which gettext complains about

6 years agovala: Check if ArrayType supports its given element-type in analyzer pass
Rico Tzschichholz [Wed, 8 Aug 2018 14:36:38 +0000 (16:36 +0200)] 
vala: Check if ArrayType supports its given element-type in analyzer pass

6 years agocodegen: Fix typo in is_pure_ccode_expression()
Rico Tzschichholz [Thu, 20 Sep 2018 10:56:38 +0000 (12:56 +0200)] 
codegen: Fix typo in is_pure_ccode_expression()

Note that this method is not used anymore and should likely be dropped.

Introduced with e086fada22eb7221cdbe34d7d4ac41445a50130a

Fixes https://gitlab.gnome.org/GNOME/vala/issues/673

6 years agog-i: Fix use after free in scanner
Rico Tzschichholz [Thu, 20 Sep 2018 08:57:43 +0000 (10:57 +0200)] 
g-i: Fix use after free in scanner

Fixes https://gitlab.gnome.org/GNOME/vala/issues/674