0.99.7: gtk_window_configure_event: trivial bug
- From: Assar Westerlund <assar sics se>
- To: gtk-list redhat com
- Subject: 0.99.7: gtk_window_configure_event: trivial bug
- Date: 15 Mar 1998 08:51:45 +0100
Here's the obvious patch.
/assar
--- gtk/gtkwindow.c 1998/03/15 07:26:37 1.1
+++ gtk/gtkwindow.c 1998/03/15 07:26:48
@@ -716,13 +716,14 @@
g_return_val_if_fail (GTK_IS_WINDOW (widget), FALSE);
g_return_val_if_fail (event != NULL, FALSE);
+ window = GTK_WINDOW (widget);
+
/* If the window was merely moved, do nothing */
if ((widget->allocation.width == event->width) &&
(widget->allocation.height == event->height) &&
(window->resize_count == 0))
return FALSE;
- window = GTK_WINDOW (widget);
window->handling_resize = TRUE;
allocation.x = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]