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>
This commit is contained in:
parent
27df5c73a2
commit
78e2d3b333
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user