[vala/staging: 5/7] codegen: Don't explicitly add glib headers, using symbols will do that
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 5/7] codegen: Don't explicitly add glib headers, using symbols will do that
- Date: Wed, 21 Nov 2018 14:43:49 +0000 (UTC)
commit 32732695dc3be6bd0b9164fbb914aa6e6629612f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Nov 19 13:13:24 2018 +0100
codegen: Don't explicitly add glib headers, using symbols will do that
See https://gitlab.gnome.org/GNOME/vala/issues/623
codegen/valaccodebasemodule.vala | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index b95b3f372..32d38cc22 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -759,13 +759,6 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
wrappers = new HashSet<string> (str_hash, str_equal);
generated_external_symbols = new HashSet<Symbol> ();
- if (context.profile == Profile.GOBJECT) {
- header_file.add_include ("glib.h");
- internal_header_file.add_include ("glib.h");
- cfile.add_include ("glib.h");
- cfile.add_include ("glib-object.h");
- }
-
source_file.accept_children (this);
if (context.report.get_errors () > 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]