]> Pileus Git - ~andy/gtk/commit - gtk/gtkarrow.c
use misc->xpad for x calculation instead of ypad (typo). (gtk_arrow_set):
authorTim Janik <timj@gtk.org>
Fri, 17 Jul 1998 00:03:35 +0000 (00:03 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 17 Jul 1998 00:03:35 +0000 (00:03 +0000)
commitca17982ed272888a5120db6951ad15e216596e30
tree7a1fd041b6e3e504135322917d3a6835dc985e60
parent699dcbab17cb1525c065323dc9fb549ec8704c78
use misc->xpad for x calculation instead of ypad (typo). (gtk_arrow_set):

Fri Jul 17 01:21:32 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
        instead of ypad (typo).
        (gtk_arrow_set): clear all of the arrow's allocation (left a 1 pixel
        border around the allocation).
        (gtk_arrow_init): the static requisition needs to be setup in this
        function rather than gtk_widget_new(), so arrow creation works without
        the gtk_arrow_new() constructing.
        (gtk_arrow_expose): return TRUE, since we actually handled the expose.

        * gtk/gtkwidget.c (gtk_widget_real_size_request): provide a default
        implementation for GtkWidget::size_request, so size requisition for
        simple statically sized widgets like GtkArrow works.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkarrow.c
gtk/gtkwidget.c