]> err.no Git - libchamplain/commitdiff
still with the references, now the example compiles and runs though
authorAnders Mørk-Pedersen <s071313@student.dtu.dk>
Wed, 11 Feb 2009 15:20:21 +0000 (16:20 +0100)
committerAnders Mørk-Pedersen <s071313@student.dtu.dk>
Wed, 11 Feb 2009 15:20:21 +0000 (16:20 +0100)
champlain-gtk-cil/champlain-gtk-sharp.dll.config.in
configure.ac
examples/gtk-test.cs

index 2608a227478e53180c20b712ae22f1722276fb8d..6c8562113f0ef5f08dafea43d267d474530d2880 100644 (file)
@@ -1,5 +1,5 @@
 <configuration>
-       <dllmap dll="champlain-gtk" target="libchamplain-@CHAMPLAIN_APIVERSION@.so" />
+       <dllmap dll="champlain-gtk" target="libchamplain-gtk-@CHAMPLAIN_GTK_APIVERSION@.so" />
        <dllmap dll="champlain" target="libchamplain-@CHAMPLAIN_APIVERSION@.so" />
        <dllmap dll="glib" target="libglib-2.0.so" />
 </configuration>
index b21ba3e95cf65db74f3f3b6fa9533126a528e949..a89c51f01bffea8333340ae3305e04505a5ef690 100644 (file)
@@ -71,6 +71,7 @@ PKG_CHECK_MODULES(CHAMPLAIN, champlain-0.3 >= 0.3)
 
 dnl CHAMPLAIN_APIVERSION=$(pkg-config --variable apiversion champlain-0.3)
 CHAMPLAIN_APIVERSION=0.3
+CHAMPLAIN_GTK_APIVERSION=0.2
 
 CHAMPLAIN_GTK_REQUIRED_VERSION=0.3
 PKG_CHECK_MODULES(CHAMPLAIN_GTK, champlain-gtk-0.3 >= $CHAMPLAIN_GTK_REQUIRED_VERSION, enable_gtk=yes, enable_gtk=no)
index 14e2465f78242a3dc59c4c8ba74e0e2d7fc3e244..8511cd4e6ee4c2799d6003710a2483073a9bf771 100644 (file)
@@ -5,8 +5,8 @@
  public class ChamplainHelloWorld {
   
    public static void Main() {
-     Clutter.ClutterRun.Init();
      Application.Init();
+     Clutter.ClutterRun.Init();
  
      Window mainWin = new Window("Hello World!");
      mainWin.Resize(200,200);
@@ -17,6 +17,6 @@
      mainWin.Add(mapWidget);
      mainWin.ShowAll();
      
-     Application.Run();   
+     Application.Run();
    }
  }