Re: #59008: patch



Kristian Rietveld <kristian planet nl> writes:

> Hi all,
> 
> Ok, I'm on a bughunt because I'm bored :). If people know of something
> more useful I can do, please tell me...
> 
> This time, a simple patch that fixes bug #59008, ChangeLog:
> 
> 2001-09-19  Kristian Rietveld  <kristian planet nl>
> 
> 	* gtk/gtkwindow.c (gtk_window_get_frame_dimensions): returned
> 	incorrect values for top, right and bottom due to cut-and-paste
> 	bug. Pointed out by Vitaly Tishkov, fixes bug #59008
> 
> 
> Proposed patch appended.
> 
> Ok to commit?

Go ahead.

Thanks,
                                        Owen

> Index: gtkwindow.c
> ===================================================================
> RCS file: /cvs/gnome/gtk+/gtk/gtkwindow.c,v
> retrieving revision 1.151
> diff -u -r1.151 gtkwindow.c
> --- gtkwindow.c	2001/09/10 14:59:49	1.151
> +++ gtkwindow.c	2001/09/19 18:28:01
> @@ -5011,9 +5011,9 @@
>    if (top)
>      *top = window->frame_top;
>    if (right)
> -    *top = window->frame_right;
> +    *right = window->frame_right;
>    if (bottom)
> -    *top = window->frame_bottom;
> +    *bottom = window->frame_bottom;
>  }




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