[gitg] Call Gd.ensure_types



commit ab3081bf79f3f88e18c900da8a3af351b834c2aa
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Sat Jan 4 21:16:25 2014 +0100

    Call Gd.ensure_types
    
    This ensures that gd symbols get pulled in, instead of being stripped
    due to the static linking of libgd.

 gitg/gitg.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gitg/gitg.vala b/gitg/gitg.vala
index 5817803..0d23a25 100644
--- a/gitg/gitg.vala
+++ b/gitg/gitg.vala
@@ -36,6 +36,9 @@ public class Main
 
                Gitg.init();
 
+               // Make sure to pull in gd symbols since libgd gets linked statically
+               Gd.ensure_types();
+
                Application app = new Application();
                return app.run(args);
        }


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