From: Rico Tzschichholz Date: Mon, 19 Nov 2018 12:13:24 +0000 (+0100) Subject: codegen: Don't explicitly add glib headers, using symbols will do that X-Git-Tag: 0.43.1~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ceaa53017b933a2856b878d436d2ae040b0f9b6;p=thirdparty%2Fvala.git codegen: Don't explicitly add glib headers, using symbols will do that See https://gitlab.gnome.org/GNOME/vala/issues/623 --- diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala index 1f43dcb13..d4e539154 100644 --- a/codegen/valaccodebasemodule.vala +++ b/codegen/valaccodebasemodule.vala @@ -761,13 +761,6 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator { wrappers = new HashSet (str_hash, str_equal); generated_external_symbols = new HashSet (); - 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) {