+Tue Mar 10 05:30:05 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkrange.h:
+ * gtk/gtkrange.c:
+ changed gtk_range_trough_click() to take an additional jump_perc arg,
+ class method and callers changed.
+
+Tue Mar 10 05:25:10 1998 Tim Janik <timj@gimp.org>
+
+ * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz
+ which fixes a memory leak.
+
Mon Mar 9 20:38:15 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c:
is destroyed. didn't include this before removal of the above
mentioned bug.
-Sat Jan 31 23:55:03 1998 Tim Janik <timj@gimp.org>
+Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
+ gtk_widget_reparent so that the child would not be unrealized
+ unnecessarily. Changed gtk_widget_unrealize () to recursively
+ unrealize the children (since the child windows will be
+ destroyed too.)
+
+Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gtk/gtkcombo.c: changed to use g_strcasecmp
+ * gtk/gtkobject.c: #include <stdlib.h> for atexit
- * ChangeLog entry for Friday (incorporation of Marius Vollmer's
- reference counting revolution, plus various fixups and additions
- from myself).
+Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkstyle.c: Backed out change to close polygons
+ since it caused problems for the Notebook.
+
+Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkclist.{c,h}:
+ - Conformity to new reference counting schemes
+ - Font and color information is no-longer taken from
+ the (possibly unitialized) style before the widget
+ is realized, but is obtained when needed. (Fixes
+ problems with non-default styles)
+ - white_gc => base_gc where appropriate
+ - Handle graphics expose events correctly (or as
+ correctly as anywhere else) so that scrolling when
+ overlapped works.
+
+Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
+ flags, augment them. (Otherwise we'll clear the FLOATING flag)
+
+Fri Jan 30 23:55:03 1998 Tim Janik <timj@gimp.org>
+
+ * Incorporation of Marius Vollmer's reference counting revolution,
+ plus various fixups and additions from myself.
* gdk/gdk.h:
* gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref.
* gtk/testgtk.c: some changes because of all the above ;)
-Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
- gtk_widget_reparent so that the child would not be unrealized
- unnecessarily. Changed gtk_widget_unrealize () to recursively
- unrealize the children (since the child windows will be
- destroyed too.)
-
-Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkcombo.c: changed to use g_strcasecmp
- * gtk/gtkobject.c: #include <stdlib.h> for atexit
-
-Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkstyle.c: Backed out change to close polygons
- since it caused problems for the Notebook.
-
-Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkclist.{c,h}:
- - Conformity to new reference counting schemes
- - Font and color information is no-longer taken from
- the (possibly unitialized) style before the widget
- is realized, but is obtained when needed. (Fixes
- problems with non-default styles)
- - white_gc => base_gc where appropriate
- - Handle graphics expose events correctly (or as
- correctly as anywhere else) so that scrolling when
- overlapped works.
-
-Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
- flags, augment them. (Otherwise we'll clear the FLOATING flag)
-
Fri Jan 30 17:41:06 1998 George Lebl <jirka@5z.com>
* gtk/gtktable.c: fixed round-off error in calculation
+Tue Mar 10 05:30:05 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkrange.h:
+ * gtk/gtkrange.c:
+ changed gtk_range_trough_click() to take an additional jump_perc arg,
+ class method and callers changed.
+
+Tue Mar 10 05:25:10 1998 Tim Janik <timj@gimp.org>
+
+ * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz
+ which fixes a memory leak.
+
Mon Mar 9 20:38:15 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c:
is destroyed. didn't include this before removal of the above
mentioned bug.
-Sat Jan 31 23:55:03 1998 Tim Janik <timj@gimp.org>
+Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
+ gtk_widget_reparent so that the child would not be unrealized
+ unnecessarily. Changed gtk_widget_unrealize () to recursively
+ unrealize the children (since the child windows will be
+ destroyed too.)
+
+Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gtk/gtkcombo.c: changed to use g_strcasecmp
+ * gtk/gtkobject.c: #include <stdlib.h> for atexit
- * ChangeLog entry for Friday (incorporation of Marius Vollmer's
- reference counting revolution, plus various fixups and additions
- from myself).
+Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkstyle.c: Backed out change to close polygons
+ since it caused problems for the Notebook.
+
+Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkclist.{c,h}:
+ - Conformity to new reference counting schemes
+ - Font and color information is no-longer taken from
+ the (possibly unitialized) style before the widget
+ is realized, but is obtained when needed. (Fixes
+ problems with non-default styles)
+ - white_gc => base_gc where appropriate
+ - Handle graphics expose events correctly (or as
+ correctly as anywhere else) so that scrolling when
+ overlapped works.
+
+Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
+ flags, augment them. (Otherwise we'll clear the FLOATING flag)
+
+Fri Jan 30 23:55:03 1998 Tim Janik <timj@gimp.org>
+
+ * Incorporation of Marius Vollmer's reference counting revolution,
+ plus various fixups and additions from myself.
* gdk/gdk.h:
* gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref.
* gtk/testgtk.c: some changes because of all the above ;)
-Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
- gtk_widget_reparent so that the child would not be unrealized
- unnecessarily. Changed gtk_widget_unrealize () to recursively
- unrealize the children (since the child windows will be
- destroyed too.)
-
-Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkcombo.c: changed to use g_strcasecmp
- * gtk/gtkobject.c: #include <stdlib.h> for atexit
-
-Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkstyle.c: Backed out change to close polygons
- since it caused problems for the Notebook.
-
-Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkclist.{c,h}:
- - Conformity to new reference counting schemes
- - Font and color information is no-longer taken from
- the (possibly unitialized) style before the widget
- is realized, but is obtained when needed. (Fixes
- problems with non-default styles)
- - white_gc => base_gc where appropriate
- - Handle graphics expose events correctly (or as
- correctly as anywhere else) so that scrolling when
- overlapped works.
-
-Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
- flags, augment them. (Otherwise we'll clear the FLOATING flag)
-
Fri Jan 30 17:41:06 1998 George Lebl <jirka@5z.com>
* gtk/gtktable.c: fixed round-off error in calculation
+Tue Mar 10 05:30:05 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkrange.h:
+ * gtk/gtkrange.c:
+ changed gtk_range_trough_click() to take an additional jump_perc arg,
+ class method and callers changed.
+
+Tue Mar 10 05:25:10 1998 Tim Janik <timj@gimp.org>
+
+ * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz
+ which fixes a memory leak.
+
Mon Mar 9 20:38:15 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c:
is destroyed. didn't include this before removal of the above
mentioned bug.
-Sat Jan 31 23:55:03 1998 Tim Janik <timj@gimp.org>
+Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
+ gtk_widget_reparent so that the child would not be unrealized
+ unnecessarily. Changed gtk_widget_unrealize () to recursively
+ unrealize the children (since the child windows will be
+ destroyed too.)
+
+Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gtk/gtkcombo.c: changed to use g_strcasecmp
+ * gtk/gtkobject.c: #include <stdlib.h> for atexit
- * ChangeLog entry for Friday (incorporation of Marius Vollmer's
- reference counting revolution, plus various fixups and additions
- from myself).
+Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkstyle.c: Backed out change to close polygons
+ since it caused problems for the Notebook.
+
+Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkclist.{c,h}:
+ - Conformity to new reference counting schemes
+ - Font and color information is no-longer taken from
+ the (possibly unitialized) style before the widget
+ is realized, but is obtained when needed. (Fixes
+ problems with non-default styles)
+ - white_gc => base_gc where appropriate
+ - Handle graphics expose events correctly (or as
+ correctly as anywhere else) so that scrolling when
+ overlapped works.
+
+Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
+ flags, augment them. (Otherwise we'll clear the FLOATING flag)
+
+Fri Jan 30 23:55:03 1998 Tim Janik <timj@gimp.org>
+
+ * Incorporation of Marius Vollmer's reference counting revolution,
+ plus various fixups and additions from myself.
* gdk/gdk.h:
* gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref.
* gtk/testgtk.c: some changes because of all the above ;)
-Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
- gtk_widget_reparent so that the child would not be unrealized
- unnecessarily. Changed gtk_widget_unrealize () to recursively
- unrealize the children (since the child windows will be
- destroyed too.)
-
-Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkcombo.c: changed to use g_strcasecmp
- * gtk/gtkobject.c: #include <stdlib.h> for atexit
-
-Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkstyle.c: Backed out change to close polygons
- since it caused problems for the Notebook.
-
-Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkclist.{c,h}:
- - Conformity to new reference counting schemes
- - Font and color information is no-longer taken from
- the (possibly unitialized) style before the widget
- is realized, but is obtained when needed. (Fixes
- problems with non-default styles)
- - white_gc => base_gc where appropriate
- - Handle graphics expose events correctly (or as
- correctly as anywhere else) so that scrolling when
- overlapped works.
-
-Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
- flags, augment them. (Otherwise we'll clear the FLOATING flag)
-
Fri Jan 30 17:41:06 1998 George Lebl <jirka@5z.com>
* gtk/gtktable.c: fixed round-off error in calculation
+Tue Mar 10 05:30:05 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkrange.h:
+ * gtk/gtkrange.c:
+ changed gtk_range_trough_click() to take an additional jump_perc arg,
+ class method and callers changed.
+
+Tue Mar 10 05:25:10 1998 Tim Janik <timj@gimp.org>
+
+ * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz
+ which fixes a memory leak.
+
Mon Mar 9 20:38:15 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c:
is destroyed. didn't include this before removal of the above
mentioned bug.
-Sat Jan 31 23:55:03 1998 Tim Janik <timj@gimp.org>
+Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
+ gtk_widget_reparent so that the child would not be unrealized
+ unnecessarily. Changed gtk_widget_unrealize () to recursively
+ unrealize the children (since the child windows will be
+ destroyed too.)
+
+Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gtk/gtkcombo.c: changed to use g_strcasecmp
+ * gtk/gtkobject.c: #include <stdlib.h> for atexit
- * ChangeLog entry for Friday (incorporation of Marius Vollmer's
- reference counting revolution, plus various fixups and additions
- from myself).
+Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkstyle.c: Backed out change to close polygons
+ since it caused problems for the Notebook.
+
+Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkclist.{c,h}:
+ - Conformity to new reference counting schemes
+ - Font and color information is no-longer taken from
+ the (possibly unitialized) style before the widget
+ is realized, but is obtained when needed. (Fixes
+ problems with non-default styles)
+ - white_gc => base_gc where appropriate
+ - Handle graphics expose events correctly (or as
+ correctly as anywhere else) so that scrolling when
+ overlapped works.
+
+Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
+ flags, augment them. (Otherwise we'll clear the FLOATING flag)
+
+Fri Jan 30 23:55:03 1998 Tim Janik <timj@gimp.org>
+
+ * Incorporation of Marius Vollmer's reference counting revolution,
+ plus various fixups and additions from myself.
* gdk/gdk.h:
* gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref.
* gtk/testgtk.c: some changes because of all the above ;)
-Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
- gtk_widget_reparent so that the child would not be unrealized
- unnecessarily. Changed gtk_widget_unrealize () to recursively
- unrealize the children (since the child windows will be
- destroyed too.)
-
-Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkcombo.c: changed to use g_strcasecmp
- * gtk/gtkobject.c: #include <stdlib.h> for atexit
-
-Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkstyle.c: Backed out change to close polygons
- since it caused problems for the Notebook.
-
-Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkclist.{c,h}:
- - Conformity to new reference counting schemes
- - Font and color information is no-longer taken from
- the (possibly unitialized) style before the widget
- is realized, but is obtained when needed. (Fixes
- problems with non-default styles)
- - white_gc => base_gc where appropriate
- - Handle graphics expose events correctly (or as
- correctly as anywhere else) so that scrolling when
- overlapped works.
-
-Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
- flags, augment them. (Otherwise we'll clear the FLOATING flag)
-
Fri Jan 30 17:41:06 1998 George Lebl <jirka@5z.com>
* gtk/gtktable.c: fixed round-off error in calculation
+Tue Mar 10 05:30:05 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkrange.h:
+ * gtk/gtkrange.c:
+ changed gtk_range_trough_click() to take an additional jump_perc arg,
+ class method and callers changed.
+
+Tue Mar 10 05:25:10 1998 Tim Janik <timj@gimp.org>
+
+ * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz
+ which fixes a memory leak.
+
Mon Mar 9 20:38:15 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c:
is destroyed. didn't include this before removal of the above
mentioned bug.
-Sat Jan 31 23:55:03 1998 Tim Janik <timj@gimp.org>
+Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
+ gtk_widget_reparent so that the child would not be unrealized
+ unnecessarily. Changed gtk_widget_unrealize () to recursively
+ unrealize the children (since the child windows will be
+ destroyed too.)
+
+Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gtk/gtkcombo.c: changed to use g_strcasecmp
+ * gtk/gtkobject.c: #include <stdlib.h> for atexit
- * ChangeLog entry for Friday (incorporation of Marius Vollmer's
- reference counting revolution, plus various fixups and additions
- from myself).
+Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkstyle.c: Backed out change to close polygons
+ since it caused problems for the Notebook.
+
+Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkclist.{c,h}:
+ - Conformity to new reference counting schemes
+ - Font and color information is no-longer taken from
+ the (possibly unitialized) style before the widget
+ is realized, but is obtained when needed. (Fixes
+ problems with non-default styles)
+ - white_gc => base_gc where appropriate
+ - Handle graphics expose events correctly (or as
+ correctly as anywhere else) so that scrolling when
+ overlapped works.
+
+Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
+ flags, augment them. (Otherwise we'll clear the FLOATING flag)
+
+Fri Jan 30 23:55:03 1998 Tim Janik <timj@gimp.org>
+
+ * Incorporation of Marius Vollmer's reference counting revolution,
+ plus various fixups and additions from myself.
* gdk/gdk.h:
* gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref.
* gtk/testgtk.c: some changes because of all the above ;)
-Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
- gtk_widget_reparent so that the child would not be unrealized
- unnecessarily. Changed gtk_widget_unrealize () to recursively
- unrealize the children (since the child windows will be
- destroyed too.)
-
-Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkcombo.c: changed to use g_strcasecmp
- * gtk/gtkobject.c: #include <stdlib.h> for atexit
-
-Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkstyle.c: Backed out change to close polygons
- since it caused problems for the Notebook.
-
-Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkclist.{c,h}:
- - Conformity to new reference counting schemes
- - Font and color information is no-longer taken from
- the (possibly unitialized) style before the widget
- is realized, but is obtained when needed. (Fixes
- problems with non-default styles)
- - white_gc => base_gc where appropriate
- - Handle graphics expose events correctly (or as
- correctly as anywhere else) so that scrolling when
- overlapped works.
-
-Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
- flags, augment them. (Otherwise we'll clear the FLOATING flag)
-
Fri Jan 30 17:41:06 1998 George Lebl <jirka@5z.com>
* gtk/gtktable.c: fixed round-off error in calculation
+Tue Mar 10 05:30:05 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkrange.h:
+ * gtk/gtkrange.c:
+ changed gtk_range_trough_click() to take an additional jump_perc arg,
+ class method and callers changed.
+
+Tue Mar 10 05:25:10 1998 Tim Janik <timj@gimp.org>
+
+ * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz
+ which fixes a memory leak.
+
Mon Mar 9 20:38:15 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c:
is destroyed. didn't include this before removal of the above
mentioned bug.
-Sat Jan 31 23:55:03 1998 Tim Janik <timj@gimp.org>
+Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
+ gtk_widget_reparent so that the child would not be unrealized
+ unnecessarily. Changed gtk_widget_unrealize () to recursively
+ unrealize the children (since the child windows will be
+ destroyed too.)
+
+Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gtk/gtkcombo.c: changed to use g_strcasecmp
+ * gtk/gtkobject.c: #include <stdlib.h> for atexit
- * ChangeLog entry for Friday (incorporation of Marius Vollmer's
- reference counting revolution, plus various fixups and additions
- from myself).
+Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkstyle.c: Backed out change to close polygons
+ since it caused problems for the Notebook.
+
+Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkclist.{c,h}:
+ - Conformity to new reference counting schemes
+ - Font and color information is no-longer taken from
+ the (possibly unitialized) style before the widget
+ is realized, but is obtained when needed. (Fixes
+ problems with non-default styles)
+ - white_gc => base_gc where appropriate
+ - Handle graphics expose events correctly (or as
+ correctly as anywhere else) so that scrolling when
+ overlapped works.
+
+Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
+ flags, augment them. (Otherwise we'll clear the FLOATING flag)
+
+Fri Jan 30 23:55:03 1998 Tim Janik <timj@gimp.org>
+
+ * Incorporation of Marius Vollmer's reference counting revolution,
+ plus various fixups and additions from myself.
* gdk/gdk.h:
* gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref.
* gtk/testgtk.c: some changes because of all the above ;)
-Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
- gtk_widget_reparent so that the child would not be unrealized
- unnecessarily. Changed gtk_widget_unrealize () to recursively
- unrealize the children (since the child windows will be
- destroyed too.)
-
-Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkcombo.c: changed to use g_strcasecmp
- * gtk/gtkobject.c: #include <stdlib.h> for atexit
-
-Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkstyle.c: Backed out change to close polygons
- since it caused problems for the Notebook.
-
-Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkclist.{c,h}:
- - Conformity to new reference counting schemes
- - Font and color information is no-longer taken from
- the (possibly unitialized) style before the widget
- is realized, but is obtained when needed. (Fixes
- problems with non-default styles)
- - white_gc => base_gc where appropriate
- - Handle graphics expose events correctly (or as
- correctly as anywhere else) so that scrolling when
- overlapped works.
-
-Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
- flags, augment them. (Otherwise we'll clear the FLOATING flag)
-
Fri Jan 30 17:41:06 1998 George Lebl <jirka@5z.com>
* gtk/gtktable.c: fixed round-off error in calculation
+Tue Mar 10 05:30:05 1998 Tim Janik <timj@gimp.org>
+
+ * gtk/gtkrange.h:
+ * gtk/gtkrange.c:
+ changed gtk_range_trough_click() to take an additional jump_perc arg,
+ class method and callers changed.
+
+Tue Mar 10 05:25:10 1998 Tim Janik <timj@gimp.org>
+
+ * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz
+ which fixes a memory leak.
+
Mon Mar 9 20:38:15 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c:
is destroyed. didn't include this before removal of the above
mentioned bug.
-Sat Jan 31 23:55:03 1998 Tim Janik <timj@gimp.org>
+Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
+ gtk_widget_reparent so that the child would not be unrealized
+ unnecessarily. Changed gtk_widget_unrealize () to recursively
+ unrealize the children (since the child windows will be
+ destroyed too.)
+
+Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
+
+ * gtk/gtkcombo.c: changed to use g_strcasecmp
+ * gtk/gtkobject.c: #include <stdlib.h> for atexit
- * ChangeLog entry for Friday (incorporation of Marius Vollmer's
- reference counting revolution, plus various fixups and additions
- from myself).
+Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkstyle.c: Backed out change to close polygons
+ since it caused problems for the Notebook.
+
+Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkclist.{c,h}:
+ - Conformity to new reference counting schemes
+ - Font and color information is no-longer taken from
+ the (possibly unitialized) style before the widget
+ is realized, but is obtained when needed. (Fixes
+ problems with non-default styles)
+ - white_gc => base_gc where appropriate
+ - Handle graphics expose events correctly (or as
+ correctly as anywhere else) so that scrolling when
+ overlapped works.
+
+Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
+
+ * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
+ flags, augment them. (Otherwise we'll clear the FLOATING flag)
+
+Fri Jan 30 23:55:03 1998 Tim Janik <timj@gimp.org>
+
+ * Incorporation of Marius Vollmer's reference counting revolution,
+ plus various fixups and additions from myself.
* gdk/gdk.h:
* gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref.
* gtk/testgtk.c: some changes because of all the above ;)
-Sat Jan 31 21:26:27 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
- gtk_widget_reparent so that the child would not be unrealized
- unnecessarily. Changed gtk_widget_unrealize () to recursively
- unrealize the children (since the child windows will be
- destroyed too.)
-
-Sat Jan 31 00:05:34 PST 1998 Manish Singh <yosh@gimp.org>
-
- * gtk/gtkcombo.c: changed to use g_strcasecmp
- * gtk/gtkobject.c: #include <stdlib.h> for atexit
-
-Sat Jan 31 00:13:33 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkstyle.c: Backed out change to close polygons
- since it caused problems for the Notebook.
-
-Fri Jan 30 22:28:09 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkclist.{c,h}:
- - Conformity to new reference counting schemes
- - Font and color information is no-longer taken from
- the (possibly unitialized) style before the widget
- is realized, but is obtained when needed. (Fixes
- problems with non-default styles)
- - white_gc => base_gc where appropriate
- - Handle graphics expose events correctly (or as
- correctly as anywhere else) so that scrolling when
- overlapped works.
-
-Fri Jan 30 21:32:11 1998 Owen Taylor <owt1@cornell.edu>
-
- * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object
- flags, augment them. (Otherwise we'll clear the FLOATING flag)
-
Fri Jan 30 17:41:06 1998 George Lebl <jirka@5z.com>
* gtk/gtktable.c: fixed round-off error in calculation
XDestroyIC (private->xic);
xim_ic_list = g_list_remove (xim_ic_list, private);
+ g_free (private);
}
GdkIMStyle
XDestroyIC (private->xic);
xim_ic_list = g_list_remove (xim_ic_list, private);
+ g_free (private);
}
GdkIMStyle
GTK_SCROLL_STEP_BACKWARD,
GTK_SCROLL_STEP_FORWARD,
GTK_SCROLL_PAGE_BACKWARD,
- GTK_SCROLL_PAGE_FORWARD
+ GTK_SCROLL_PAGE_FORWARD,
+ GTK_SCROLL_JUMP
} GtkScrollType;
typedef enum
{
GTK_TROUGH_NONE,
GTK_TROUGH_START,
- GTK_TROUGH_END
+ GTK_TROUGH_END,
+ GTK_TROUGH_JUMP
} GtkTroughType;
typedef enum
static void gtk_real_range_draw_trough (GtkRange *range);
static void gtk_real_range_draw_slider (GtkRange *range);
static gint gtk_real_range_timer (GtkRange *range);
-static gint gtk_range_scroll (GtkRange *range);
+static gint gtk_range_scroll (GtkRange *range,
+ gfloat jump_perc);
static void gtk_range_add_timer (GtkRange *range);
static void gtk_range_remove_timer (GtkRange *range);
gint
gtk_range_trough_click (GtkRange *range,
gint x,
- gint y)
+ gint y,
+ gfloat *jump_perc)
{
g_return_val_if_fail (range != NULL, GTK_TROUGH_NONE);
g_return_val_if_fail (GTK_IS_RANGE (range), GTK_TROUGH_NONE);
if (RANGE_CLASS (range)->trough_click)
- return (* RANGE_CLASS (range)->trough_click) (range, x, y);
+ return (* RANGE_CLASS (range)->trough_click) (range, x, y, jump_perc);
return GTK_TROUGH_NONE;
}
gint
gtk_range_default_htrough_click (GtkRange *range,
gint x,
- gint y)
+ gint y,
+ gfloat *jump_perc)
{
gint xthickness;
gint ythickness;
if ((x < (trough_width - xthickness) && (y < (trough_height - ythickness))))
{
gdk_window_get_position (range->slider, &slider_x, NULL);
+
+ if (jump_perc)
+ {
+ *jump_perc = ((double) x) / ((double) trough_width);
+ return GTK_TROUGH_JUMP;
+ }
+
if (x < slider_x)
return GTK_TROUGH_START;
else
gint
gtk_range_default_vtrough_click (GtkRange *range,
gint x,
- gint y)
+ gint y,
+ gfloat *jump_perc)
{
gint xthickness;
gint ythickness;
if ((x < (trough_width - xthickness) && (y < (trough_height - ythickness))))
{
gdk_window_get_position (range->slider, NULL, &slider_y);
+
+ if (jump_perc)
+ {
+ *jump_perc = ((double) y) / ((double) trough_height);
+ return GTK_TROUGH_JUMP;
+ }
+
if (y < slider_y)
return GTK_TROUGH_START;
else
{
GtkRange *range;
gint trough_part;
+ gfloat jump_perc;
g_return_val_if_fail (widget != NULL, FALSE);
g_return_val_if_fail (GTK_IS_RANGE (widget), FALSE);
if (!GTK_WIDGET_HAS_FOCUS (widget))
gtk_widget_grab_focus (widget);
+ jump_perc = -1;
range = GTK_RANGE (widget);
- if (!range->button)
+ if (range->button == 0)
{
gtk_grab_add (widget);
if (event->window == range->trough)
{
range->click_child = RANGE_CLASS (range)->trough;
-
- trough_part = gtk_range_trough_click (range, event->x, event->y);
-
+
+ if (range->button == 2)
+ trough_part = gtk_range_trough_click (range, event->x, event->y, &jump_perc);
+ else
+ trough_part = gtk_range_trough_click (range, event->x, event->y, NULL);
+
range->scroll_type = GTK_SCROLL_NONE;
if (trough_part == GTK_TROUGH_START)
range->scroll_type = GTK_SCROLL_PAGE_BACKWARD;
else if (trough_part == GTK_TROUGH_END)
range->scroll_type = GTK_SCROLL_PAGE_FORWARD;
-
+ else if (trough_part == GTK_TROUGH_JUMP &&
+ jump_perc >= 0 && jump_perc <= 1)
+ range->scroll_type = GTK_SCROLL_JUMP;
+
if (range->scroll_type != GTK_SCROLL_NONE)
{
- gtk_range_scroll (range);
+ gtk_range_scroll (range, jump_perc);
gtk_range_add_timer (range);
}
}
range->click_child = RANGE_CLASS (range)->step_forw;
range->scroll_type = GTK_SCROLL_STEP_FORWARD;
- gtk_range_scroll (range);
+ gtk_range_scroll (range, -1);
gtk_range_add_timer (range);
gtk_range_draw_step_forw (range);
}
range->click_child = RANGE_CLASS (range)->step_back;
range->scroll_type = GTK_SCROLL_STEP_BACKWARD;
- gtk_range_scroll (range);
+ gtk_range_scroll (range, -1);
gtk_range_add_timer (range);
gtk_range_draw_step_back (range);
}
if (scroll != GTK_SCROLL_NONE)
{
range->scroll_type = scroll;
- gtk_range_scroll (range);
+ gtk_range_scroll (range, -1);
if (range->old_value != range->adjustment->value)
{
gtk_signal_emit_by_name (GTK_OBJECT (range->adjustment), "value_changed");
{
if (pos == GTK_TROUGH_START)
range->adjustment->value = range->adjustment->lower;
- else
+ else if (pos == GTK_TROUGH_END)
range->adjustment->value =
range->adjustment->upper - range->adjustment->page_size;
range->need_timer = FALSE;
}
- if (gtk_range_scroll (range))
+ if (gtk_range_scroll (range, -1))
return return_val;
}
}
static gint
-gtk_range_scroll (GtkRange *range)
+gtk_range_scroll (GtkRange *range,
+ gfloat jump_perc)
{
gfloat new_value;
gint return_val;
{
case GTK_SCROLL_NONE:
break;
-
+
+ case GTK_SCROLL_JUMP:
+ if (jump_perc >= 0 && jump_perc <= 1)
+ {
+ new_value = (range->adjustment->lower +
+ (range->adjustment->upper - range->adjustment->page_size -
+ range->adjustment->lower) * jump_perc);
+ }
+ break;
+
case GTK_SCROLL_STEP_BACKWARD:
new_value -= range->adjustment->step_increment;
if (new_value <= range->adjustment->lower)
void (* slider_update) (GtkRange *range);
gint (* trough_click) (GtkRange *range,
gint x,
- gint y);
+ gint y,
+ gfloat *jump_perc);
gint (* trough_keys) (GtkRange *range,
GdkEventKey *key,
GtkScrollType *scroll,
void gtk_range_slider_update (GtkRange *range);
gint gtk_range_trough_click (GtkRange *range,
gint x,
- gint y);
+ gint y,
+ gfloat *jump_perc);
void gtk_range_default_hslider_update (GtkRange *range);
void gtk_range_default_vslider_update (GtkRange *range);
gint gtk_range_default_htrough_click (GtkRange *range,
gint x,
- gint y);
+ gint y,
+ gfloat *jump_perc);
gint gtk_range_default_vtrough_click (GtkRange *range,
gint x,
- gint y);
+ gint y,
+ gfloat *jump_perc);
void gtk_range_default_hmotion (GtkRange *range,
gint xdelta,
gint ydelta);