[cogl] android: Update the hello example to the latest glib-android API change
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] android: Update the hello example to the latest glib-android API change
- Date: Fri, 12 Aug 2011 16:33:58 +0000 (UTC)
commit 78e2d3b333deeceba5d228dec16bac9b35792639
Author: Damien Lespiau <damien lespiau intel com>
Date: Mon May 23 11:53:10 2011 +0100
android: Update the hello example to the latest glib-android API change
When using glib-android, it's not possible to select parts of the
library you want to initialize anymore. Plus it was decided that argc
and argv are useless as you basically don't start applications with
command line arguments on Android.
https://bugzilla.gnome.org/show_bug.cgi?id=655791
Reviewed-by: Robert Bragg <robert linux intel com>
examples/android/hello/jni/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/android/hello/jni/main.c b/examples/android/hello/jni/main.c
index 05cb20e..dacbbab 100644
--- a/examples/android/hello/jni/main.c
+++ b/examples/android/hello/jni/main.c
@@ -156,7 +156,7 @@ android_main (struct android_app* application)
/* Make sure glue isn't stripped */
app_dummy ();
- g_android_init (NULL, NULL, G_ANDROID_INIT_FLAG_LOG_HANDLER);
+ g_android_init ();
memset (&data, 0, sizeof (TestData));
application->userData = &data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]