From: Anders Mørk-Pedersen Date: Wed, 11 Feb 2009 15:20:21 +0000 (+0100) Subject: still with the references, now the example compiles and runs though X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e61aa552eb8fedcc525074e8d5ddef85cebe3c18;p=libchamplain still with the references, now the example compiles and runs though --- diff --git a/champlain-gtk-cil/champlain-gtk-sharp.dll.config.in b/champlain-gtk-cil/champlain-gtk-sharp.dll.config.in index 2608a22..6c85621 100644 --- a/champlain-gtk-cil/champlain-gtk-sharp.dll.config.in +++ b/champlain-gtk-cil/champlain-gtk-sharp.dll.config.in @@ -1,5 +1,5 @@ - + diff --git a/configure.ac b/configure.ac index b21ba3e..a89c51f 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/examples/gtk-test.cs b/examples/gtk-test.cs index 14e2465..8511cd4 100644 --- a/examples/gtk-test.cs +++ b/examples/gtk-test.cs @@ -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(); } }