forked from AuroraMiddleware/gtk
Fixed long-standing typo in aspect ratio computation code. (pointed out by
Sat Dec 5 21:07:09 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed long-standing typo in aspect ratio computation code. (pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)
This commit is contained in:
parent
f5c4b3740c
commit
5c42d2f6d6
@ -1,3 +1,9 @@
|
||||
Sat Dec 5 21:07:09 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed
|
||||
long-standing typo in aspect ratio computation code.
|
||||
(pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)
|
||||
|
||||
Fri Dec 4 01:20:06 1998 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_button_release): call toggle_row with
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Dec 5 21:07:09 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed
|
||||
long-standing typo in aspect ratio computation code.
|
||||
(pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)
|
||||
|
||||
Fri Dec 4 01:20:06 1998 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_button_release): call toggle_row with
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Dec 5 21:07:09 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed
|
||||
long-standing typo in aspect ratio computation code.
|
||||
(pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)
|
||||
|
||||
Fri Dec 4 01:20:06 1998 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_button_release): call toggle_row with
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Dec 5 21:07:09 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed
|
||||
long-standing typo in aspect ratio computation code.
|
||||
(pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)
|
||||
|
||||
Fri Dec 4 01:20:06 1998 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_button_release): call toggle_row with
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Dec 5 21:07:09 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed
|
||||
long-standing typo in aspect ratio computation code.
|
||||
(pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)
|
||||
|
||||
Fri Dec 4 01:20:06 1998 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_button_release): call toggle_row with
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Dec 5 21:07:09 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed
|
||||
long-standing typo in aspect ratio computation code.
|
||||
(pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)
|
||||
|
||||
Fri Dec 4 01:20:06 1998 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_button_release): call toggle_row with
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Dec 5 21:07:09 1998 Owen Taylor <otaylor@gtk.org>
|
||||
|
||||
* gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed
|
||||
long-standing typo in aspect ratio computation code.
|
||||
(pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)
|
||||
|
||||
Fri Dec 4 01:20:06 1998 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_button_release): call toggle_row with
|
||||
|
@ -301,9 +301,8 @@ gtk_aspect_frame_size_allocate (GtkWidget *widget,
|
||||
bin->child->requisition.height;
|
||||
if (ratio < MIN_RATIO) ratio = MIN_RATIO;
|
||||
}
|
||||
else
|
||||
if (bin->child->requisition.height != 0)
|
||||
ratio = MAX_RATIO;
|
||||
else if (bin->child->requisition.width != 0)
|
||||
ratio = MAX_RATIO;
|
||||
else
|
||||
ratio = 1.0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user