gtk-ajaborsk-970822-2.patch -------------------------------------------------------------------------- gdk/gdk.c gtk/gtkMain.c gtk_exit_funct() & gdk_exit_funct() modified to avoid atexit functions to call exit() (bad thing). Previously posted but ignored ? gdk_exit() & gtk_exit() no longer de-initialise gdk/gtk. This work is done by the gdk_exit_funct()/gtk_exit_funct() (thanks Owen) Corrected the fact that call gtk_exit() without have called gtk_init() didn't exit. glib/*.h glib/*.c gdk/*.h gdk/*.c gtk/*.h gtk/*.c added a lot of 'const' to allow use of 'String' type in gtk--. modified code in gtk_signal_new() to copy the signal name (instead of the pointer) ; same modification in gtk_object_add_arg_type(). gtk/gtkpixmap.c put 'g_return_val_if_fail (pixmap != NULL, NULL);' _AFTER_ 'pixmap = gtk_type_new (gtk_pixmap_get_type ());' gtk/gtkrc.c in gtk_rc_get_token() : initialised hex_number & dec_number to FALSE to make compiler happy (useless patch ?) gtk/gtkwindow.c in gtk_window_key_press_event(), added (never reached) case, to avoid compiler warning. gtk/gtkEntry.c added code to handle Home & End keys added code to handle keyboard selection (with shift + direction keys) gtk/gtkMain.c modified gtk_main_iteration() to call handle_idle() only when there is REALLY no events. This allows a good response time, even with a lot of hungry idle functions (try with testgtk and previews !) ------------------------------------------------------------------------ Feedback is welcome ,on gtk-list or/and by email : ajaborsk@phare.univ-lille2.fr