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.
This commit is contained in:
Tim Janik
1998-09-08 04:08:17 +00:00
committed by Tim Janik
parent f830dc3f36
commit e33741aed6
13 changed files with 115 additions and 15 deletions

View File

@ -571,8 +571,7 @@ gdk_init (int *argc,
button_number[0] = -1;
button_number[1] = -1;
if (ATEXIT (gdk_exit_func))
g_warning ("unable to register exit function");
g_atexit (gdk_exit_func);
gdk_visual_init ();
gdk_window_init ();