small fix by Assar Westerlund <assar@sics.se>.

Sun Mar 15 08:27:06 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkwindow.c (gtk_window_configure_event): small fix by
                Assar Westerlund <assar@sics.se>.
This commit is contained in:
Tim Janik 1998-03-15 07:58:10 +00:00 committed by Tim Janik
parent 9addd8da2c
commit 85764dad33
8 changed files with 23 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
Assar Westerlund <assar@sics.se>.
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>

View File

@ -1,5 +1,8 @@
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
Assar Westerlund <assar@sics.se>.
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>

View File

@ -1,5 +1,8 @@
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
Assar Westerlund <assar@sics.se>.
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>

View File

@ -1,5 +1,8 @@
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
Assar Westerlund <assar@sics.se>.
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>

View File

@ -1,5 +1,8 @@
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
Assar Westerlund <assar@sics.se>.
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>

View File

@ -1,5 +1,8 @@
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
Assar Westerlund <assar@sics.se>.
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>

View File

@ -1,5 +1,8 @@
Sun Mar 15 08:27:06 1998 Tim Janik <timj@gimp.org>
* gtk/gtkwindow.c (gtk_window_configure_event): small fix by
Assar Westerlund <assar@sics.se>.
* gtk/gtkmenu.c (gtk_menu_key_press): don't cast a NULL pointer.
Sat Mar 14 19:36:16 PST 1998 Shawn T. Amundson <amundson@gimp.org>

View File

@ -716,13 +716,14 @@ gtk_window_configure_event (GtkWidget *widget,
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;