summaryrefslogtreecommitdiff
path: root/gtk/gtkobject.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-09-08 04:08:17 +0000
committerTim Janik <timj@src.gnome.org>1998-09-08 04:08:17 +0000
commite33741aed6ba496d959eb81de177717167349500 (patch)
treee77281ab4f35e74a783cb5c5ac07f50a2f096994 /gtk/gtkobject.c
parentf830dc3f36863a1bc3a9dfec4c85afdba911cecc (diff)
downloadgtk+-e33741aed6ba496d959eb81de177717167349500.tar.gz
use g_atexit() instead of ATEXIT.
Tue Sep 8 05:19:51 1998 Tim Janik <timj@gtk.org> * gdk/gdk.c (gdk_init): use g_atexit() instead of ATEXIT. * gtk/gtkmain.c (gtk_init): use g_atexit() instead of ATEXIT. * gtk/gtkobject.c (gtk_object_init_type): use g_atexit() instead of ATEXIT. * ltconfig: use GLib's ltconfig which honours lcc.
Diffstat (limited to 'gtk/gtkobject.c')
-rw-r--r--gtk/gtkobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkobject.c b/gtk/gtkobject.c
index 9a8014e4ee..ed41b10126 100644
--- a/gtk/gtkobject.c
+++ b/gtk/gtkobject.c
@@ -19,7 +19,6 @@
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
-#include <stdlib.h>
#include "gtkobject.h"
#include "gtksignal.h"
@@ -138,7 +137,7 @@ gtk_object_init_type (void)
#ifdef G_ENABLE_DEBUG
if (gtk_debug_flags & GTK_DEBUG_OBJECTS)
- ATEXIT (gtk_object_debug);
+ g_atexit (gtk_object_debug);
#endif /* G_ENABLE_DEBUG */
}