]> Pileus Git - ~andy/gtk/commit
Many fixes, along with extensive cleanups and refactoring of code to
authorOwen Taylor <otaylor@redhat.com>
Fri, 6 Jun 2003 23:08:14 +0000 (23:08 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 6 Jun 2003 23:08:14 +0000 (23:08 +0000)
commit0b7c616a248147fb787ec5ed634e47dac718e7f3
treee006dbf467046921e42d5274bfe27c3e0b1d625a
parentf91ae9800376cefff2c9809222db0f67f94e2160
Many fixes, along with extensive cleanups and refactoring of code to

Fri Jun  6 16:25:44 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkviewport.c: Many fixes, along with extensive cleanups and
        refactoring of code to reduce duplication; fixes include:

        - gtk_viewport_realize(): Position the window correct from adjustment
        values. (#110737, Michael Natterer)

        - Remove some division-by-zero checks in places where there is no
        longer division. (#110737)

        - gtk_viewport_class_init: Make the hadjustment/vadjustment properties
        G_PARAM_CONSTRUCT, so that there will always be adjustments, even
        if gtk_viewport_new isn't used (#101135, Thomas Leonard).

        - Switch over to encapsulated lazy-creation for hadjustment/
        vadjustment; even with the CONSTRUCT property, we need this after
        destroy.

        - When updating the adjustment, immediate set their values to
        match the the current range of the viewport, and update the
        viewport position to match the value of the new adjustments.
        (Part of #1165
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkviewport.c