patch v2




  Here is the README file of the second version of my patch (on gtk+-U1) :



This is a new version of the patch I send a few days ago.


1997/08/22 gtk+-U1-alex2.patch
--------------------------------------------------------------------------

gdk/gdk.c
gtk/gtkMain.c
  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
   removed some (buggy) const. Added some in glib. modified code in
   gtk_signal_new() to copy the signal name (instead of the pointer) ;
   same modification in gtk_object_add_arg_type().
   No more warnings.

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.

1997/08/20 gtk+-U1-alex.patch
--------------------------------------------------------------------------
  this patch (try to) adds/fixes the following points :

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 ?

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--. It's not
   perfect, (lots of warnings) but it's a first step.

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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]