#59008: patch
- From: Kristian Rietveld <kristian planet nl>
- To: GTK Development list <gtk-devel-list gnome org>
- Subject: #59008: patch
- Date: Wed, 19 Sep 2001 20:36:07 +0200 (CEST)
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?
regards,
Kris
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;
}
/**
--
Odi et amo. Quare id faciam, fortasse requiris?
Nescio, sed fieri sentio et excrucior.
-Catullus (Carmen 85)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]