[goocanvasmm] generate_extra_defs: Adapt to changed gtk_init().



commit 0c78b5de3ff4e54d1ee1320bf423845ca1d31432
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Mar 31 14:23:46 2017 +0200

    generate_extra_defs: Adapt to changed gtk_init().

 codegen/extradefs/generate_extra_defs_goocanvas.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/codegen/extradefs/generate_extra_defs_goocanvas.cc 
b/codegen/extradefs/generate_extra_defs_goocanvas.cc
index e8966e1..fb0261e 100644
--- a/codegen/extradefs/generate_extra_defs_goocanvas.cc
+++ b/codegen/extradefs/generate_extra_defs_goocanvas.cc
@@ -23,9 +23,9 @@
 #include <goocanvas.h>
 
 
-int main (int argc, char *argv[])
+int main ()
 {
-  gtk_init(&argc, &argv);
+  gtk_init();
 
   std::cout << get_defs(GOO_TYPE_CANVAS);
   std::cout << get_defs(GOO_TYPE_CANVAS_ELLIPSE);


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