[vala/wip/dbusgen: 151/152] drop GLIB_X defines



commit cefc60191c5a3a8a9d80f84a86c5fab123eab8af
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Nov 25 15:05:24 2018 +0100

    drop GLIB_X defines

 dbusgen/valadbusgen.vala | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/dbusgen/valadbusgen.vala b/dbusgen/valadbusgen.vala
index 8aac57bee..b89d80459 100644
--- a/dbusgen/valadbusgen.vala
+++ b/dbusgen/valadbusgen.vala
@@ -107,15 +107,8 @@ public class Vala.DBusGen {
 
                context.profile = Profile.GOBJECT;
                context.add_define ("GOBJECT");
-               context.target_glib_major = 2;
-               context.target_glib_minor = 40;
                context.vapi_comments = true;
 
-
-               for (int i = 16; i <= 40; i += 2) {
-                       context.add_define ("GLIB_2_%d".printf (i));
-               }
-
                context.add_external_package ("glib-2.0");
                context.add_external_package ("gobject-2.0");
                context.add_external_package ("gio-2.0");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]