[java-atk-wrapper] use atexit from stdlib
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] use atexit from stdlib
- Date: Tue, 18 Nov 2014 14:32:52 +0000 (UTC)
commit 074ab3be6088d7bc0ad147eb09d2b2f5ad602dc9
Author: Magdalen Berns <m berns thismagpie com>
Date: Tue Nov 18 14:31:41 2014 +0000
use atexit from stdlib
g_texit is deprecated
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=740269
jni/src/AtkWrapper.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/jni/src/AtkWrapper.c b/jni/src/AtkWrapper.c
index a04ba21..176f746 100644
--- a/jni/src/AtkWrapper.c
+++ b/jni/src/AtkWrapper.c
@@ -19,6 +19,7 @@
#include <jni.h>
#include <stdio.h>
+#include <stdlib.h>
#include <glib.h>
#include <gmodule.h>
#include <gdk/gdk.h>
@@ -121,7 +122,7 @@ jaw_load_atk_bridge (gpointer p)
}
(dl_init)();
- g_atexit( jaw_exit_func );
+ atexit( jaw_exit_func );
if (jaw_debug) {
printf("ATK Bridge has been loaded successfully\n");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]