[aisleriot] sol: Fail to start when running with gtk+ 3.19 but compiled against earlier version
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] sol: Fail to start when running with gtk+ 3.19 but compiled against earlier version
- Date: Sun, 20 Mar 2016 10:23:29 +0000 (UTC)
commit 5392af5617d6ca69a9b2eff542197226518b84c3
Author: Christian Persch <chpe gnome org>
Date: Sun Mar 20 11:22:54 2016 +0100
sol: Fail to start when running with gtk+ 3.19 but compiled against earlier version
src/sol.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/sol.c b/src/sol.c
index 7f75234..08d289c 100644
--- a/src/sol.c
+++ b/src/sol.c
@@ -144,6 +144,13 @@ cleanup:
int
main (int argc, char *argv[])
{
+#if !GTK_CHECK_VERSION (3, 19, 5)
+ if (!gtk_check_version(3, 19, 5)) {
+ g_printerr("Aisleriot needs to be recompiled against gtk+ >= 3.19.5 in order to run with gtk+ >=
3.19.5\n");
+ return 1;
+ }
+#endif
+
if (!ar_runtime_init ("aisleriot"))
return 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]